lgatto / pRoloc

A unifying bioinformatics framework for organelle proteomics
http://lgatto.github.io/pRoloc/
15 stars 14 forks source link

Grid in plot2D #104

Closed nk448 closed 6 years ago

nk448 commented 6 years ago

Hi, would it be possible to have the option of adding/removing the grid in plot2D, please?

lmsimp commented 6 years ago

Thanks for adding the issue Nina, actually, it may well be a better solution to just adapt the code for your own use rather than adding the option to plot2D. I have modified plot2D for you see the code plot2D_mod here.

To run:

library(“pRoloc”)
library(“pRolocdata”)
data("hyperLOPIT2015")
plot2D_mod(hyperLOPIT2015)
lgatto commented 6 years ago

You can also type

source("https://gist.githubusercontent.com/lmsimp/1436be73bb19170fdbac22bb87bcf552/raw/e3c4dc2c9b0e8fa9885baa7d9673cc5ae68a2734/plot2D_mod")

and plot2D_mod use it right away.

nk448 commented 6 years ago

Great, than you!