subsetPeptideData: subsetPeptideData

Description Usage Arguments Value Author(s) Examples

View source: R/dataSubset.R

Description

Given a matrix of peptide data, omit columns with excess missing data, specified by NAs.

Usage

1
subsetPeptideData(pepdat, numNAsAllowed = NULL, percentageNAsAllowed = 0.05)

Arguments

pepdat

The peptide matrix, with peptides in columns and samples in rows.

numNAsAllowed

The maximum count of missing values for each peptide (counts NAs).

percentageNAsAllowed

The percentage of missing data allowed for each peptide over samples.

Value

Returns a matrix.

Author(s)

David L Gibbs

Examples

1
2
data(ProCoNA_Data)
subsetPeptideData(peptideData, percentageNAsAllowed=0.2)

ProCoNA documentation built on Nov. 1, 2018, 3:28 a.m.