Skip to content

Commit 50b35d0

Browse files
committed
fix outdated documentation for 'sleuth_to_matrix'
1 parent 9acf16e commit 50b35d0

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

R/matrix.R

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,9 @@
2424
#' @param which_df character vector of length one. Which type of data to use
2525
#' ("obs_norm" or "obs_raw")
2626
#' @param which_units character vector of length one. Which units to use ("tpm"
27-
#' or "est_counts")
28-
#' @return a matrix which contains a matrix of target_ids and transcript expression in \code{which_units}
27+
#' or "est_counts" (for transcript-level analyses) or "scaled_reads_per_base" (for gene-level analyses))
28+
#' @return a matrix which contains a matrix of target_ids and transcript (or gene) expression in \code{which_units}.
29+
#' Note this currently does not support returning raw values for gene-level counts or TPMs.
2930
#' @examples
3031
#' sleuth_matrix <- sleuth_to_matrix(sleuth_obj, 'obs_norm', 'tpm')
3132
#' head(sleuth_matrix) # look at first 5 transcripts, sorted by name

man/sleuth_to_matrix.Rd

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)