Peptide abundance profile plot
Creates a plot of peptide abundances across samples. This is helpful to investigate effects of peptide and protein abundance changes in different samples and conditions.
plot_peptide_profiles( data, sample, peptide, intensity_log2, grouping, targets, protein_abundance_plot = FALSE, interactive = FALSE, export = FALSE, export_name = "peptide_profile_plots" )
data |
Data frame containing at least the input variables. |
sample |
Column in the data frame containing sample names. |
peptide |
Column in the data frame containing peptide or precursor names. |
intensity_log2 |
Column in the data frame containing log2 transformed intensities. |
grouping |
Column in the data frame containing groups by which the data should be split. This can be for example protein IDs. |
targets |
Character vector specifying elements of the grouping column which should be plotted. This can also be
|
protein_abundance_plot |
Logical, if the input for this plot comes directly from |
interactive |
A logical indicating whether the plot should be interactive (default is FALSE). If this is TRUE only one target can be supplied to the function. Interactive plots cannot be exported either. |
export |
A logical indicating if plots should be exported as PDF. The output directory will be the current working directory. The
name of the file can be chosen using the |
export_name |
A character vector providing the name of the exported file if |
A list of peptide profile plots.
## Not run: plot_peptide_abundance( data, sample = r_file_name, peptide = eg_precursor_id, intensity_log2 = log2_intensity, grouping = pg_protein_accessions, targets = c("P03421") ) ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.