BuildColumnToProteinDataset_par {DAPAR} | R Documentation

## creates a column for the protein dataset after agregation by using the previous peptide dataset.

### 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

    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

    require(DAPARdata)
    data(Exp1_R25_pept)
    protID <- "Protein.group.IDs"
    M <- BuildAdjacencyMatrix(Exp1_R25_pept[1:1000], protID, FALSE)
    data <- Biobase::fData(Exp1_R25_pept[1:1000])
    protData <- pepAgregate(Exp1_R25_pept[1:1000], ProtID, 'sum overall', M)
    name <- "Protein.group.IDs"
    proteinNames <- rownames(Biobase::fData(protData))
    BuildColumnToProteinDataset_par(data, M, name,proteinNames )

[Package DAPAR version 1.12.11 Index]