strip_sequence_Comet {PepMapViz} | R Documentation |
Strip sequence from Comet outputs
Description
This function takes Comet output containing a column with peptide sequences to be stripped and converts it into a new dataframe with the stripped sequence
Usage
strip_sequence_Comet(data, column, convert_column)
Arguments
data |
A dataframe with a column containing peptide sequences to be stripped |
column |
The name of the column containing the peptide sequences to be stripped. |
convert_column |
The name of the column where the stripped sequences will be stored. |
Value
A dataframe with a column containing stripped sequence
Examples
library(data.table)
data <- data.table(
modified_peptide = c(
"AAM[15.9949]Q[-0.98]RGSLYQCDYSTGSC[57.02]EPIR",
"K.AAQQTGKLVHANFGT.K",
"K.[0.98]AATVTGKLVHANFGT.K"
),
Condition = c("A", "B", "B")
)
column <- 'modified_peptide'
convert_column <- 'Sequence'
converted_data <- strip_sequence_Comet(data, column, convert_column)
[Package PepMapViz version 1.1.0 Index]