get_genecounts: Calculate total read counts per gene

Description Usage Arguments Value

View source: R/utils_data.R

Description

Calculate total read counts per gene

Usage

1

Arguments

data

A serp_data object.

stats

Whether to return additional statistics per gene. Currently calculates the minimum and maximum counts per gene. Note that setting this to TRUE heavily impacts performance.

Value

A tibble with columns exp, rep, sample, counts, RPM, and RPKM. If genename_column is not "gene", the tibble will in additon contain genename_column. If stats is TRUE, contains additional counts and RPM columns prefixed with the name of the summary statistic.


ilia-kats/RiboSeqTools documentation built on Oct. 5, 2020, 7:41 p.m.