Label-free protein quantification
Determines relative protein abundances from ion quantification. Only proteins with at least 3 peptides are considered for quantification.
calculate_protein_abundance( data, sample, protein_id, precursor, peptide, intensity_log2, method = "iq", for_plot = FALSE, retain_columns = NULL )
data |
A data frame that contains at least the input variables. |
sample |
The name of the column containing the sample name. |
protein_id |
The name of the column containing the protein accession numbers. |
precursor |
The name of the column containing precursors. |
peptide |
The name of the column containing peptide sequences. This column is needed to filter for proteins with at least 3 unique peptides. This can equate to more than three precursors. The quantification is done on the precursor level. |
intensity_log2 |
The name of the column containing log2 transformed precursor intensities. |
method |
A character vector specifying with which method protein quantities should be calculated. Possible options include |
for_plot |
A logical indicating whether the result should be only protein intensities or protein intensities together with precursor
intensities that can be used for plotting using |
retain_columns |
A vector indicating if certain columns should be retained from the input data frame. Default is not retaining
additional columns |
If for_plot = FALSE
, protein abundances are returned, if for_plot = TRUE
also precursor intensities are returned. The
later output is ideal for plotting with qc_protein_abundance
and can be filtered to only include protein abundances.
## Not run: calculate_protein_abundance( data, sample = r_file_name, protein_id = pg_protein_accessions, precursor = eg_precursor_id, peptide = pep_stripped_sequence, intensity_log2 = normalised_intensity_log2, method = "iq", retain_columns = c(pg_protein_accessions) ) ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.