Description Usage Arguments Value
This function transposes the rna expression table and adds the gene_ids column. Gene expression data tables follow tidy conventions where a separate gene_id column is used in place of row names. Caret expects explanatory variables (in this case genes) to be columns.
1 | matrix_to_genetable(expression_matrix, genes_as_cols = TRUE)
|
expression_matrix |
A matrix where column names correspond to gene_id. |
genes_as_cols |
In classical ML, features are columns. Sometimes we have matrices where
features (genes) are rows. Set this to |
A data table with gene_id as a column.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.