View source: R/support_functions.R
get.gev.thresholds | R Documentation |
This function takes an scan.h2lmm() object, and returns a specified number of outcome samples, either permutations or from the null model of no locus effect.
get.gev.thresholds(
threshold.scans,
use.lod = FALSE,
percentile = 0.95,
type = c("min", "max")
)
threshold.scans |
Output object from run.threshold.scans(). |
use.lod |
DEFAULT: FALSE. "TRUE" specifies LOD scores. "FALSE" specifies p-values. |
percentile |
DEFAULT: 0.95. The desired alpha level (false positive probability) from the GEV distribution. |
type |
DEFAULT: "min". If "min", the minimum statistics are expected, which is usually desired with p-values - though they are transformed to maxima using -log10(). If "max", the maximum statistics are expected. This is mainly expected to be used with mediation scans for direct mediations (p-value drop). |
get.gev.thresholds()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.