View source: R/glmnet_deprecated.R
CalcClusterEnrichPvals | R Documentation |
Calculate cluster enrichment with logistic regression
CalcClusterEnrichPvals(
design.mat,
cov.mat,
clusters,
alpha,
lambda.use,
n.rand = 1000,
n.cores = 8,
ctrl = NULL
)
design.mat |
Design matrix for regression |
cov.mat |
Matrix of covariates to regress out |
clusters |
Cluster assignments |
alpha |
Elasticnet ratio: (0 is fully L2, 1 fully is L1) |
lambda.use |
Shrinkage parameter |
n.rand |
Number of permutations |
n.cores |
Number of multiprocessing cores |
ctrl |
Control genotype to compare all other genotypes to (e.g. NTC, AAVS) |
Matrix of regression coefficients
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.