View source: R/utils_converters.R
MSstatsPTMSiteLocator | R Documentation |
Locate modification site number and amino acid
MSstatsPTMSiteLocator(
data,
protein_name_col = "ProteinName",
unmod_pep_col = "PeptideSequence",
mod_pep_col = "PeptideModifiedSequence",
clean_mod = FALSE,
fasta_file = NULL,
fasta_protein_name = "header",
mod_id = "\\*",
localization_scores = FALSE,
localization_cutoff = 0.75,
remove_unlocalized_peptides = TRUE,
terminus_included = FALSE,
terminus_id = "\\.",
mod_id_is_numeric = FALSE,
remove_underscores = FALSE,
remove_other_mods = FALSE,
bracket = FALSE,
replace_text = FALSE
)
data |
|
protein_name_col |
Name of column indicating protein. Default is
|
unmod_pep_col |
Name of column indicating unmodified peptide sequence. Default
is |
mod_pep_col |
Name of column indicating modified peptide sequence. Default
is |
clean_mod |
Remove special characters and numbers around modification
name. Default is |
fasta_file |
File path to FASTA file that matches with proteins in
|
fasta_protein_name |
Name of fasta file column that matches with
|
mod_id |
String that indicates what amino acid was modified in
|
localization_scores |
Boolean indicating if mod id is a localization
score. If TRUE, |
localization_cutoff |
Default is .75. Localization probabilities below
cutoffs will be removed. |
remove_unlocalized_peptides |
Default is TRUE. If |
terminus_included |
Boolean indicating if the |
terminus_id |
String that indicates what the terminus amino acid is. Default is '.'. |
mod_id_is_numeric |
Boolean indicating if modification identifier is a number instead of a character (i.e. +80 vs *). |
remove_underscores |
Boolean indicating if underscores around peptide exist. These should be removed to properly count where in sequence the modification occurred. |
remove_other_mods |
keeping mods that are not of interest can mess up the amino acid count. Remove them if they are causing issues. |
bracket |
bracket type that encompasses PTM (usually |
replace_text |
If PTM is noted by text (i.e. |
data.table
with site location added into Protein
column.
##TODO
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.