View source: R/substitute_pvalue.R
substitute_pvalue | R Documentation |
Replace the p-values calculated for pseudo-QTNs according to one of several rules.
substitute_pvalue(GM, GLM, QTN = NULL, method = "mean", npc = 0)
GM |
A dataframe with three columns containing the SNP ID, chromosome, and base-pair position of each marker. |
GLM |
A |
QTN |
A three column matrix containing the SNP ID, chromosome, and base-pair position of each pseudo-QTN. |
method |
A character scalar, one of "penalty", "reward", "mean", "median", or "onsite". |
npc |
An integer scalar. The number of user-defined covariates. |
Fill in details.
The input GLM
object with the pseudo-QTN p-values in
GLM[["P"]]
substituted.
Xiaolei Liu
Zhiwu Zhang
Aaron Kusmec
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.