BuildAdjacencyMatrix | R Documentation |
Method to create a binary matrix with proteins in columns and peptides
in lines on a MSnSet
object (peptides)
BuildAdjacencyMatrix(obj.pep, protID, unique = TRUE)
obj.pep |
An object (peptides) of class |
protID |
The name of proteins ID column |
unique |
A boolean to indicate whether only the unique peptides must be considered (TRUE) or if the shared peptides have to be integrated (FALSE). |
A binary matrix
Florence Combes, Samuel Wieczorek, Alexia Dorffer
data(Exp1_R25_pept, package="DAPARdata")
protId <- "Protein_group_IDs"
BuildAdjacencyMatrix(Exp1_R25_pept[seq_len(10)], protId, TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.