Method to create a binary matrix with proteins in columns and peptides
in lines on a MSnSet
object (peptides)
Examples
data(Exp1_R25_pept, package="DaparToolshedData")
protId <- "Protein_group_IDs"
obj <- Exp1_R25_pept[[1]]
obj.pep <- obj[seq_len(10)]
BuildAdjacencyMatrix(obj.pep)
#> 10 x 9 sparse Matrix of class "dgCMatrix"
#> 1210 1987 2232 254 364 379 534 599 858
#> AAAAQDEITGDGTTTVVCIVGEIIR 1 . . . . . . . .
#> AAADAISDIEIK . . . 1 . . . . .
#> AAADAISDIEIKDSK . . . 1 . . . . .
#> AAAEEQAKR . . . . . . 1 . .
#> AAAEGVANIHIDEATGEMVSK . . . . 1 . . . .
#> AAAEYEKGEYETAISTINDAVEQGR . . . . . 1 . . .
#> AAAHSSIKEYDQAVK . . 1 . . . . . .
#> AAAPGIQIVAGEGFQSPIEDR . 1 . . . . . . .
#> AAAPTVVFIDEIDSIAK . . . . . . . 1 .
#> AACIVQNGIATWFPIAVTK . . . . . . . . 1