powered by
Runs burden, SKAT, and SKAT-O, using default settings.
Comparator(covar, geno, pheno, apply_int = TRUE, is_pheno_binary = FALSE)
Numeric vector of p-values.
(n x p) covariate matrix.
(n x snps) genotype matrix.
(n x 1) phenotype vector.
Apply rank-based inverse normal transform to the phenotype? Default: TRUE. Ignored if phenotype is binary.
Is the phenotype binary? Default: FALSE.
# Generate data. data <- DGP(n = 1e3, snps = 1e2) # Run the comparators. results <- Comparator( geno = data$geno, pheno = data$pheno, covar = data$covar )
Run the code above in your browser using DataLab