snpLocs.Hs {GGBase} | R Documentation |
SNP location accessor
snpLocs.Hs(cnum, rsid)
cnum |
chrnum instance indicating chromosome |
rsid |
rsid instance giving dbSNP ids for snps of interest |
The SNPlocs.Hsapiens.dbSNP.* package is curated by Bioconductor and maintains location and allele information on SNP.
The hsSnpLocs environment is available through data(hsSnpLocs), and contains a unified representation of the information in the SNPlocs package (which is only available through various chromosome-specific calls).
two-row matrix – top row is numeric suffix of dbSNP ids, bottom row is location, genome-wide if chrnum is missing
Vince Carey <stvjc@channing.harvard.edu>
library(GGtools) data(hmceuB36.2021) nn21 = colnames(smList(hmceuB36.2021)[["21"]]) length(nn21) ss = snpLocs.Hs(chrnum(21), rsid(nn21)) dim(ss) # notes that the locations available are not completely # congruent with those asserted in HapMap data