snps.to.pathways: Assigns SNPs to pathways

Description Usage Arguments Value See Also Examples

View source: R/snps.to.pathways.R

Description

Assigns SNPs to pathways, using the pathway gene members and the SNPs assigned to each gene.

Usage

1

Arguments

pathways

A list of pathways with their gene members

gene.snps

A list of genes with the SNPs assigned to them according to their physical distance on the genome

Value

A list of the same size as the number of pathways in the pathway list. The names of the SNPs assigned to each pathway are returned. Empty pathways are also returned.

See Also

SNPs, genes, snps.to.genes

Examples

1
2
3
4
5
data(SNPs)
data(genes)
data(pathways)
snps.genes <- snps.to.genes(snp.info=SNPs,gene.info=genes, distance=50)
pathway.snps <- snps.to.pathways(pathways,snps.genes)

Example output

Loading required package: lars
Loaded lars 1.2

Loading required package: foreach
Loading required package: mnormt

PAGWAS documentation built on May 2, 2019, 3:26 p.m.