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.
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.
Login before adding your answer.
Use of this site constitutes acceptance of our User Agreement and Privacy