get_sd_quant {scsR} | R Documentation

## get_sd_quant

### Description

This method scan the quantile standard deviation matrix (produced by create-sd-matrix function) and finds the quantile of the given standard deviation and average score

### Usage

    get_sd_quant(sdval, score, sd_matrix)

### Arguments

`sdval` | standard deviation (number)
`score` | average score (number)
`sd_matrix` | standard deviation quantile matrix (matrix)

### Value

number from 1 to 20 that represents the quantile of the standard deviation in the given score range (1 corresponds to 0.05 percent). (integer)

### Author(s)

Andrea Franceschini

### Examples

    	data(uuk_screen)

    	# to speed up the example we use only the first 2500 rows
    	uuk_screen_reduced = uuk_screen[1:2500,]

    	screen = add_seed(uuk_screen_reduced)
    	sd_matrix = create_sd_matrix(screen)
    	quant <- get_sd_quant(0.3, 0.9, sd_matrix)

[Package scsR version 1.18.0 Index]