YinLiLin / CMplot

📊 Circular and Rectangular Manhattan Plot
520 stars 112 forks source link

Highlighting SNPs #51

Open TinaNeik339 opened 3 years ago

TinaNeik339 commented 3 years ago

Hi,

Regarding the highlight script given in the manual:

SNPs <- pig60K$SNP[pig60K$Chromosome==13 & pig60K$Position<(signal+1000000)&pig60K$Position>(signal-1000000)]

Can it be more than 1 chromosome? I have SNPs to be highlighted on 3 different chromosomes. How should I write the command?

Also, what does signal+/-1000000 mean?

TinaNeik339 commented 3 years ago

May I ask if there is any response?

YinLiLin commented 3 years ago

you can highlight any SNPs in the genome, just use a filter strategy to get the names of the SNPs you want to highlight, then assign them to the parameter 'highlight' of CMplot.