CMplot icon indicating copy to clipboard operation
CMplot copied to clipboard

Highlighting SNPs

Open TinaNeik339 opened this issue 4 years ago • 2 comments

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 avatar Jul 14 '21 11:07 TinaNeik339

May I ask if there is any response?

TinaNeik339 avatar Jul 20 '21 13:07 TinaNeik339

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.

YinLiLin avatar Jul 29 '21 00:07 YinLiLin