propReads {PhIPData}R Documentation

Proportion of sample reads

Description

This function calculates the proportion of total sample reads pulled by each peptide.

Usage

propReads(object, withDimnames = TRUE)

Arguments

object

PhIPData object

withDimnames

logical; if true return a matrix with the same dimension names as the original object.

Value

A (named) numeric matrix with the same dimensions as the function input. Matrix values are between 0 and 1.

Examples

example("PhIPData")
propReads(phip_obj)

## Return an unnamed matrix
propReads(phip_obj, withDimnames = FALSE)

[Package PhIPData version 1.2.0 Index]