subsetPeptideData {ProCoNA} | R Documentation

## subsetPeptideData

### Description

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

### Usage

    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

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

[Package ProCoNA version 1.18.0 Index]