View source: R/strip_sequence.R
strip_sequence_MSFragger | R Documentation |
This function takes MSFragger output containing a column with peptide sequences to be stripped and converts it into a new dataframe with the stripped sequence
strip_sequence_MSFragger(data, column, convert_column)
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. |
A dataframe with a column containing stripped sequence
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_MSFragger(data, 'Modified Peptide', 'Sequence')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.