Description Usage Arguments Value Author(s) See Also Examples
View source: R/DataUtilities.R
Get the information of SNP ID with or without position.
1 |
obj |
a genotypic object of |
type |
|
If type = "RefSNP+Position"
,
return paste(obj$snp.id, obj$snp.position, sep="-")
;
if type = "RefSNP"
,
return obj$snp.id
;
otherwise,
return obj$snp.position
.
Xiuwen Zheng
hlaGenoSwitchStrand
, hlaGenoCombine
1 2 3 4 5 6 7 8 | x <- hlaSNPID(HapMap_CEU_Geno)
head(x)
x <- hlaSNPID(HapMap_CEU_Geno, "RefSNP")
head(x)
x <- hlaSNPID(HapMap_CEU_Geno, "Position")
head(x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.