Learn R Programming

DAPAR (version 1.4.7)

getProteinsStats: computes the number of proteins that are only defined by specific peptides, shared peptides or a mixture of two.

Description

This function computes the number of proteins that are only defined by specific peptides, shared peptides or a mixture of two.

Usage

getProteinsStats(matUnique, matShared)

Arguments

matUnique
The adjacency matrix with only specific peptides.
matShared
The adjacency matrix with both specific and shared peptides.

Value

A list

Examples

Run this code
data(UPSpep25)
protID <- "Protein.group.IDs"
MShared <- BuildAdjacencyMatrix(UPSpep25, protID, FALSE)
MUnique <- BuildAdjacencyMatrix(UPSpep25, protID, TRUE)
getProteinsStats(MUnique,MShared)

Run the code above in your browser using DataLab