Description Usage Arguments Value See Also Examples
View source: R/create.pathway.df.R
Returns a data frame with L rows and M columns. L is the number of SNPs in the genotypes data frame and M is the number of tested pathways.
1 | create.pathway.df(genotypes,snps.paths)
|
genotypes |
Genotype matrix, with L SNPs (columns) and N individuals (rows) |
snps.paths |
A list with entries the SNP members of each pathway. The size of the list is M |
A data frame with columns equal to the number of pathways in the pathway.snps list and rows equal to the number of tested SNPs
SNPs
, genes
, snps.to.pathways
snps.to.genes
1 2 3 4 5 6 7 |
Loading required package: lars
Loaded lars 1.2
Loading required package: foreach
Loading required package: mnormt
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.