Description Usage Arguments Examples
View source: R/matrix_to_tibble.R
While tibbles are great for interactive data science, matrices
are more practical for the algebra used by WExT. Therefore, these two
functions mutationmatrix_to_tibble()
and
tibble_to_mutationmatrix()
, make switching between the two formats
much easier.
1 | matrix_to_tibble(dat, columns_name = "sample_id", rows_name = "gene")
|
dat |
a matrix object with column and row names |
columns_name |
title for the data in the column names (default "sample_id") |
rows_name |
title for the data in the row names (default "gene") |
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.