snpPositAnnot {GMRP} | R Documentation |
This function is used to perform position annotation analysis of SNP
s chosen from GWAS
.
snpPositAnnot(SNPdata, SNP_hg19="chr", main)
SNPdata |
|
SNP_hg19 |
a string parameter. It may be "hg19" or "chr". If SNP_hg19="hg19",then |
main |
a string which is title of graph. If no title is given, then main="". |
Return a set of numbers of SNPs between which interval length > LG on 23 chromosomes. This function also creates a histogram for averaged distances between SNPs and SNP numbers on chromosomes.
This function can also be applied to hg18 data with SNP_hg19
="hg18".
Yuan-De Tan tanyuande@gmail.com
data(SNP358.data) SNP358<-DataFrame(SNP358.data) snpPositAnnot(SNPdata=SNP358,SNP_hg19="chr",main="A")