How to mark points on a Manhattan plot?

I am using the qqman package and have some labeling questions in the qqman package. I ran the following command in R:

manhattan(mydata, chr = "CHR", bp = "MAPINFO", p = "P.Value", snp = "SNP", col = c("blue4", "orange3"), chrlabs = NULL,suggestiveline = -log10(1e-05), genomewideline = -log10(5e-08), highlight =NULL, logp = TRUE )

      

And got a Manhattan plot, but I want to mark all the points with –log10(p) > 20

(which is on the y-axis) according to the "Gene" column in the "mydata" file. This column (Gene) includes gene names, not SNP coordinates (rs ...). Does this column have to be numeric or symbol?

+3
r plot label


source to share


No one has answered this question yet

Check out similar questions:

2474
How to make a great R reproducible example
1667
How can I resize drawings drawn with matplotlib?
1251
How to sort a data frame by multiple columns
1015
Save the image to an image file instead of displaying it with Matplotlib
938
How do I create a checkbox with a clickable label?
485
Plot two graphs in one graph in R
238
How to set limits for axes in ggplot2 R plots?
89
Smart Label Placement in R
6
How to use the content of one vector as a character in a plot?
0
Drm scheduling in DRC package - multi-line graph



All Articles
Loading...
X
Show
Funny
Dev
Pics