BuildColumnToProteinDataset_par: creates a column for the protein dataset after agregation by...

Description Usage Arguments Value Author(s) Examples

View source: R/agregation.R

Description

This function creates a column for the protein dataset after agregation by using the previous peptide dataset. It is a parallel version of the function BuildColumnToProteinDataset

Usage

1
BuildColumnToProteinDataset_par(peptideData, matAdj, columnName, proteinNames)

Arguments

peptideData

A data.frame of meta data of peptides. It is the fData of the MSnset object.

matAdj

The adjacency matrix used to agregate the peptides data.

columnName

The name of the column in fData(peptides_MSnset) that the user wants to keep in the new protein data.frame.

proteinNames

The names of the protein in the new dataset (i.e. rownames)

Value

A vector

Author(s)

Samuel Wieczorek

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## Not run: 
utils::data(Exp1_R25_pept, package='DAPARdata')
protID <- "Protein_group_IDs"
obj.pep <- Exp1_R25_pept[1:1000]
M <- BuildAdjacencyMatrix(obj.pep, protID, FALSE)
data <- Biobase::fData(obj.pep)
protData <- DAPAR::aggregateSum(obj.pep, M)
name <- "Protein_group_IDs"
proteinNames <- rownames(Biobase::fData(protData))
BuildColumnToProteinDataset_par(data, M, name,proteinNames )

## End(Not run)

DAPAR documentation built on April 11, 2021, 6 p.m.