YinLiLin / CMplot

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

List of values for highlight.pch? #62

Closed michaelofrancis closed 2 years ago

michaelofrancis commented 2 years ago

Hi YinLiLin,

I really enjoy CMplot! I was wondering if there is a list of all the values of highlight.pch? Or some way to know the order of shapes without having to plot them out?

Thanks.

YinLiLin commented 2 years ago

Hi, thank you for your question.

The order of shapes in 'highlight.pch' is the same with the order of SNP list in 'highlight', by default, all highlighted SNPs have the same shape, you can assign a vector of different shapes to 'highlight.pch' with equal length to 'highlight', but this function is only available for single trait Manhattan plot.

Best, LL

michaelofrancis commented 2 years ago

Hi, I think my question was misunderstood. I meant for example highlight.pch=1 draws a circle, highlight.pch=2 draws a triangle, etc...

YinLiLin commented 2 years ago

it's actually the same with the parameter 'pch' of 'plot()' function in R

michaelofrancis commented 2 years ago

Thanks!