Description Usage Arguments Value Examples
View source: R/protein_inference.R
A function for inferring parsimonious peptide to protein mapping.
1 | protein_inference(x, Accession = "Accession", PepSeq = "PepSeq")
|
x |
table (data.frame, data.frame or tbl_df) with one column correspoding to peptides and the other to proteins or in general case accessions |
Accession |
character corresponding to column name with protein accesssions |
PepSeq |
character corresponding to column name with peptide sequences |
data.frame with two additional columns
UniqueAndRazor
TRUE if raw correspond to unique or razor peptide to protein mapping
JustifiedAccession
TRUE if protein has any unique peptide that justify its presence
1 2 3 4 5 6 7 8 9 10 | library(tibble)
x <- tribble(
~pep, ~prot,
"AAAAK", "P1",
"CCCCK", "P1",
"LLLLK", "P1",
"AAAAK", "P2",
"DDDDK", "P2",
"AAAAK", "P3")
protein_inference(x, Accession = "prot", PepSeq = "pep")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.