Learn R Programming

sleuth (version 0.27.3)

sleuth_to_matrix: Convert a sleuth object to matrix

Description

Convert a sleuth object to a matrix with the condition names.

Usage

sleuth_to_matrix(obj, which_df, which_units)

Arguments

obj

a sleuth object

which_df

character vector of length one. Which type of data to use ("obs_norm" or "obs_raw")

which_units

character vector of length one. Which units to use ("tpm" or "est_counts")