mist | R Documentation |
Test for association between a set of SNPS/genes and continuous outcomes by including variant characteristic information and using score statistics.
mist(
y,
X,
G,
Z,
method = "liu",
model = c("guess", "continuous", "binary"),
weight.beta = NULL,
maf = NULL
)
y |
[numeric] A |
X |
[numeric] A |
G |
[numeric] A |
Z |
[numeric] a |
method |
[character] A method to compute the p-value and the default value is "liu". Method "davies" represents an exact method that computes the p-value by inverting the characteristic function of the mixture chisq. Method "liu" represents an approximation method that matches the first 3 moments. |
model |
[character] A |
weight.beta |
[numeric] A |
maf |
[numeric] A |
S.tau score Statistic for the variant heterogeneous effect.
S.pi score Statistic for the variant mean effect.
p.value.S.tau P-value for testing the variant heterogeneous effect.
p.value.S.pi P-value for testing the variant mean effect.
p.value.overall Overall p-value for testing the association between the set of SNPS/genes and outcomes. It combines p.value.S.pi and p.value.S.tau by using Fisher's procedure.
library(MiSTr)
data(mist_data)
attach(mist_data)
mist(
y = phenotypes[, "y_taupi"],
X = phenotypes[, paste0("x_cov", 0:2)],
G = genotypes,
Z = variants_info[, 1, drop = FALSE]
)
mist(
y = phenotypes[, "y_binary"],
X = phenotypes[, paste0("x_cov", 0:2)],
G = genotypes,
Z = variants_info[, 1, drop = FALSE]
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.