get_tpms: Get TPM data for an RNA-seq dataset

View source: R/attributes.R

get_tpmsR Documentation

Get TPM data for an RNA-seq dataset

Description

get_tpm returns a data.frame of tpms,

Usage

get_tpms(data, samples = NULL)

Arguments

data

df rna-seq data to get tpms from

samples

df a samples df to subset the data to

Value

data.frame If there is no tpm data in the supplied data frame (i.e.) no column names containing "tpm" then NULL is returned

Examples

tpms <- get_tpms(data)
tpms_subset <- get_tpms(data, samples)


richysix/rnaseqtools documentation built on Jan. 26, 2025, 10:14 a.m.