ProfileInteract: Visualize interactive protein profile

View source: R/ProfileInteract.R

ProfileInteractR Documentation

Visualize interactive protein profile

Description

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.

Usage

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"
)

Arguments

obj

A MSnSet object

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

Value

A gpplot or ggplotly object : the protein profiles

See Also

ggplotly, gghighlight and plotDist from Proloc package

Examples


library(pRolocExtra)
Profil_interact(tan2009r1)

mgerault/pRolocExtra documentation built on Sept. 15, 2022, 9:26 a.m.