View source: R/ProfileInteract.R
ProfileInteract | R Documentation |
ProfileInteract
allows you to visualize protein profile from the organelle(s) you want
interactively or not, and highlight specific proteins.
It is based on the plotDist function from pRoloc package.
ProfileInteract( obj, mrk = "markers", Organelle = "Golgi", Interact = TRUE, mytitle = FALSE, TITLE = "Profile", Clust = FALSE, mean_prof = FALSE, one_pr = FALSE, protein = NULL, xLab = "Fractions", yLab = "Intensity" )
obj |
A |
mrk |
The name of the column which contains the markers from the data |
Organelle |
A character vector which contains the organelle(s) that you want to see the protein profile |
Interact |
A logical argument to tell if you want an interactive plot |
mytitle |
A logical argument to tell if you want to change the first part of the subtitle (name of the data) |
TITLE |
A character which be your title (use with mytitle = TRUE) |
Clust |
A logical argument to tell if you use clustered data. (mrk should be equal to "knn" or orther clustering algorithm or any name of your data). |
mean_prof |
A logical argument to tell if you want to see the profile's mean of all proteins |
one_pr |
A logical argument to tell if you want to highlight a specific protein profile (or several); also tell if you want to plot all markers when protein is null |
protein |
A character vector which contains the proteins you want to highlight. if NULL, show all the proteins |
xLab |
A character which will be the name of the x-axis |
yLab |
A character which will be the name of the y-axis |
A gpplot or ggplotly object : the protein profiles
ggplotly
, gghighlight
and plotDist
from Proloc package
library(pRolocExtra) Profil_interact(tan2009r1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.