Description Usage Arguments Value
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. This function transposes the rna expression table and adds the gene_ids as column names.
1 | genetable_to_matrix(expression, transpose = TRUE)
|
expression |
A table with a column "gene_id" that contains expression estimates. |
transpose |
Set to |
A matrix where genes are columns and samples are rows.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.