get_anno_df: Extract counts with annotation data.frame from txi

View source: R/format.R

get_anno_dfR Documentation

Extract counts with annotation data.frame from txi

Description

Extract counts with annotation data.frame from txi

Usage

get_anno_df(txi, colname)

Arguments

txi:

The txi object returned from the 'import_kallisto' function

table_name:

The name of the count table to return. Tolerated values: * For raw counts: counts, raw_counts, count and raw_count * For TPM: abundance, TPM and tpm * For RUVg: ruvg_counts, ruvg, RUVg, RUV and ruv * For FPKM: fpkm and FPKM

Value

A 'data.frame' object.

Examples

abundances <- get_demo_abundance_files()
file_anno <- get_demo_anno_file()
txi <- import_kallisto(abundances, anno = file_anno)
raw_counts <- get_anno_df(txi, "raw_count")


CharlesJB/rnaseq documentation built on Oct. 17, 2023, 5:37 p.m.