get_anno,snp_info,pathway_info-method {kangar00} | R Documentation |
Annotates SNPs via genes to pathways
Description
A function to create the annotation for a GWASdata
object.
It combines a snp_info
and a pathway_info
object into an annotation data.frame
used for pathway
analysis on GWAS. SNPs are assigned to pathways via gene membership.
Usage
## S4 method for signature 'snp_info,pathway_info'
get_anno(object1, object2, ...)
Arguments
object1 |
A |
object2 |
A |
... |
further argdata(hsa04020) |
Value
A data.frame
mapping SNPs to genes and genes to
pathways. It includes the columns 'pathway', 'gene', 'chr', 'snp' and
'position'.
Author(s)
Stefanie Friedrichs, Saskia Freytag, Ngoc-Thuy Ha
See Also
Examples
data(hsa04022_info) # pathway_info('hsa04020')
data(rs10243170_info)# snp_info("rs10243170")
get_anno(rs10243170_info, hsa04022_info)