View source: R/plotting_functions.R
spread_abundance_by | R Documentation |
obs_raw
) and cast it into a matrix where the rows are the
target_ids and the columns are the sample ids. The values are the variable
you are "spreading" on.Spread abundance by a column. Take a data.frame from a sleuth object
(e.g. obs_raw
) and cast it into a matrix where the rows are the
target_ids and the columns are the sample ids. The values are the variable
you are "spreading" on.
spread_abundance_by(abund, var, which_order)
abund |
the abundance |
var |
a character array of length one. The variable for which to get "spread" on (e.g. "est_counts"). |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.