How to plot a image like this.
This is a mutation landscape plot. I just want to know the name of the plot of such type and how to plot it using R (which package)???
Any help is appreciated.
genome
r
plot
cancer
• 1,764 views
•
link
updated
by
Ram
•
written
by
lincaijin1994 •
0 answers
No answers yet.
Log in to answer this question.
More posts like this
-
P-value calculation between groups in split violin plot
written by ABHi All, I'd like to create a Violin plot of my single cell data split by experimental group with pvalues calculated between each group. Like …
-
Understanding IGV
written by zizigoluHi I have targeted sequencing (WGS) I have uploaded bam and vcf file for sample; From these screenshot which one shows/support this mutation ![enter image …
-
How can I create a sample characteristic/mutation plot in R?
written by db4761 •I am wondering if anyone can help me figure out how to create a plot like this in R to show the characteristics of my …
-
How to infer gene-level CNV status from ICGC data?
written by lincaijin1994 •I've downloaded copy number data from ICGC portal but I found it provided only the mutation type (copy neutral, copy neutral LOH, gain, loss) and …
-
Is it possible to add significant stars besides oncoprint ?
written by Lillian •I have create oncoPrint by `Complexheatmap` package in R like this: ![enter image description here][1] I'm wondering is it possible to make annotation of significant …
-
R can install .zip package but not .tar.gz package
written by Nickier •My R version is 4.2.1 , and had installed Rtools42 . When I install a package which is .tar.gz , R return message "non-zero exit …
-
R - Merging and aligning two CSVs using common values in multiple columns
written by Michael •I currently have two .csv files that look like this: File 1: ![enter image description here][1] File 2: ![enter image description here][2] I would like …
-
Dotplot with annotated features in Seurat/R
written by iatz •Hello, I would like to plot a DotPlot in R with feature annotation over the top of the plot, as in Scanpy - see red …
-
How to plot a mutation barplot of the SARS-CoV-2 genome?
written by fhsantannaI would like to plot a mutation barplot such as that below. Do you know any R or Python library for this purpose? Initially, I …
-
R script or package for nested bubble plot
written by Confused_human •Looking for R script or package that can make a nested bubble plot like this. ![enter image description here][1] [1]: /media/images/89e75cf7-da91-4d2f-87f1-dbd61249
GenVisR is a possible option.
Thank you! But it seems that GenVisR doesn't include the function to repeat such a plot after reading its user guides. I wonder if you can tell me the name of such a plot.
I hope someone directs you to a package that does what you want. If not, I have good news. This diagram is easy to make without a specialized package. You'll need to instantiate an array of an appropriate size, loop over the rows and columns, assign each (ith, jth) entry to the desired colour values, and then save the raster in your preferred format (example: png). There's a lot of freedom in how you assign the colours, but choose something clear and aesthetically pleasing.
I just noticed the colourbar above. For that it would be preferable to use slicing notation to assign those regions compared to looping and control flow. For the rest of the rows and columns a shift in the indices to account for the added rows at the top would work.