summarise_rpms: Summarises gene-wise RPMs across a vector of samples

Description Usage Arguments Value

View source: R/summarise_rpms.R

Description

Summarises gene-wise RPMs across a vector of samples

Usage

1
summarise_rpms(gene_ids, rpms, th_rpm = 0)

Arguments

gene_ids

vector of gene ids

rpms

matrix of gene-wise rpms, number of rows are length(gene_ids)

th_rpm

numeric threshold RPM limit to binarise gene as detected (1) or not detected (0)

Value

A data_frame with one row per gene id, columns containing number detected above th_rpm, sum_rpms by gene, mean_rpm by gene, and sd_rpm (standard deviation) by gene


rmauntz/Larson_cfRNA_DarkChannelBiomarkers documentation built on Jan. 30, 2021, 12:47 a.m.