View source: R/peptide_stats.R
peptide_stats | R Documentation |
Read in input the incidence matrix of peptide-to-protein mappings generated from valid proteomic identifications
peptide_stats(incM)
incM |
a |
a list
of three elements: i. number of shared peptides;
ii. number of specific peptides; iii. percentage of specific peptides
Laura Fancello
# Read the tab-delimited file containing he proteome incidence matrix incM_filename <- system.file( "extdata" , "incM_example" , package = "net4pg" , mustWork = TRUE) rownames_filename <- system.file( "extdata" , "peptideIDs_incM_example" , package = "net4pg" , mustWork = TRUE) colnames_filename <- system.file( "extdata" , "proteinIDs_incM_example" , package = "net4pg" , mustWork = TRUE) incM <- read_inc_matrix(incM_filename = incM_filename , colnames_filename = colnames_filename , rownames_filename = rownames_filename) # Calculate percentage of shared vs specific peptides peptideStatsOut <- peptide_stats(incM = incM)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.