Comments (6)
Hi, theoretically CMplot
can only be used for visualizing the SNP based results, but not for the segments with start and end position, some users just roughly use the mean value of segments to plot. For your problem, please refer to the documents on GitHub, if you would like to highlight some peaks, please firstly pick up the names of the peaks of interest, which are located at the first column of the data, then assign it as a vector to parameter highlight
, also to parameter highlight.text
if you want to show the full names on the plot, there is no parameter named highlight.gene
in CMplot, please refer to the following codes:
CMplot(data, ..., highlight = yourpeaks, highlight.text = yourpeaks)
from cmplot.
Dear YinLiLin,
I am running the script as below:
CMplot(data, ..., highlight = 58.0014, highlight.text = GENE1)
I am getting an error:
No shared SNPs between Pmap and highlight
How to fix this situation?
from cmplot.
Try CMplot(data, ..., highlight = GENE1, highlight.text = GENE1)
from cmplot.
I tried with the above mentioned script but ended up with "object GENE1 not found"
Is there any way I can highlight peaks only from xpclr column only. I only have 5 peaks of interest and I can label them manually.
from cmplot.
Yes, but you should assign a vector containing all the names of peaks you interest to "GENE" prior to plotting
from cmplot.
Dear YinLiLin,
Thankyou for your great help. I able to fix and highlight the gene of interest on specific peaks.
Regards
Devender Arora
from cmplot.
Related Issues (20)
- the maximum number of markers in windows is smaller than the lower boundary of breaks
- The maximum number of markers in windows is smaller than the lower boundary of breaks HOT 7
- The 'cex' value is incorrect HOT 1
- Error: related cex HOT 1
- p values should be at range of (0, 1). HOT 6
- how to highlight snp in outlined circle
- how to alter multiple track qq plots HOT 1
- bin.size doesn't look right HOT 3
- Error in Pmap[, 1] : incorrect number of dimensions HOT 2
- Adding tags to significant points in multitrait / multitrack QQ plots HOT 2
- p values should be at range of (0, 1). HOT 6
- how to get rid of grey shadows when applying threshold HOT 2
- Chromosome order in marker density plot HOT 1
- I have only one-layer of circle plot HOT 1
- Multi-traits of Manhattan cannot change the chromosomal color and add some SNPS to the tag
- Error in plot.new() HOT 1
- Error in p values should be at range of (0, 1). HOT 3
- Error in CMplot(): 'amplify' is FALSE. HOT 3
- Density Plot x-axis ticks HOT 1
- Is it possible to save the file as a vector image? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cmplot.