Description Usage Arguments Value
View source: R/dataset_utils.R
Takes a list of matrices with similar row and column names and runs tidyr::gather across each to make a "long" dataset with a column of values for each matrix in the list.
1 2 3 4 5 6 7 |
datasets |
list of matrices (columns are samples, rows are genes) |
na.rows |
if TRUE, add NAs for missing rows, otherwise they are removed |
na.cols |
if TRUE, add NAs for missing columns, otherwise they are removed |
use.dims |
either an integer or character vector of length 1 |
dim.names |
character vector of length two - these become the column labels in the tidy dataset for the rownames and colnames of the original matrices |
a tidy dataframe
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.