propReads: Proportion of sample reads

Description Usage Arguments Value Examples

View source: R/summaries.R

Description

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

Usage

1
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

1
2
3
4
5
example("PhIPData")
propReads(phip_obj)

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

athchen/PhIPData documentation built on Feb. 10, 2022, 1:34 a.m.