strip_sequence_DIANN: Strip sequence from DIANN outputs

View source: R/strip_sequence.R

strip_sequence_DIANNR Documentation

Strip sequence from DIANN outputs

Description

This function takes DIANN output containing a column with peptide sequences to be stripped and converts it into a new dataframe with the stripped sequence

Usage

strip_sequence_DIANN(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.Sequence = c(
    "AAAAGPGAALS(UniMod:21)PRPC(UniMod:4)DSDPATPGAQSPK",
    "AAAASAAEAGIATTGTEDSDDALLK",
    "AAAAALSGSPPQTEKPT(UniMod:21)HYR"
  ),
  Condition = c("A", "B", "B")
)
column <- 'Modified.Sequence'
convert_column <- 'Sequence'
converted_data <- strip_sequence_DIANN(data, column, convert_column)


PepMapViz documentation built on April 3, 2025, 6:29 p.m.