get_anno,snp_info,pathway_info-method | R Documentation |
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.
## S4 method for signature 'snp_info,pathway_info' get_anno(object1, object2, ...)
object1 |
A |
object2 |
A |
... |
further argdata(hsa04020) |
A data.frame
mapping SNPs to genes and genes to
pathways. It includes the columns 'pathway', 'gene', 'chr', 'snp' and
'position'.
Stefanie Friedrichs, Saskia Freytag, Ngoc-Thuy Ha
snp_info
, pathway_info
data(hsa04022_info) # pathway_info('hsa04020') data(rs10243170_info)# snp_info("rs10243170") get_anno(rs10243170_info, hsa04022_info)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.