filter_txi: Filter out txi object

View source: R/txi.R

filter_txiR Documentation

Filter out txi object

Description

This function allow to filter the txi object by taking a list of sample to keep. All the expected matrices will be filtered (counts, abundance, fpkm, ruvg_counts and combat_counts.

Usage

filter_txi(txi, samples)

Arguments

txi

The txi object returned by the import_kallisto function.

samples

The list of samples to keep.

Value

The filter txi object.

Examples

txi <- get_demo_txi() # sample names are "a", "b", "c" and "d"
txi_filter <- filter_txi(txi, c("a", "c")) # Only keep "a" and "c"


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