Extract Peptide Position Start and End Columns from a QFeatures Object
extract_peptide_positions.RdParses the Positions.in.Master.Proteins column from the rowData
of a specified SummarizedExperiment within a QFeatures object,
and extracts the start and end positions of each peptide into two new
rowData columns. When multiple entries are present
(semicolon-delimited), the function returns semicolon-delimited lists of
start and end values.
Arguments
- qf
A
QFeaturesobject.- i
A single integer or character string specifying the index or name of the
SummarizedExperimentwithinqfto operate on.- start_col
A single character string giving the name of the new column to store peptide start positions. Defaults to
"start".- end_col
A single character string giving the name of the new column to store peptide end positions. Defaults to
"end".