View source: R/phyloset_bulk.R
| as_data_frame | R Documentation |
Convert a BulkPhyloExpressionSet object back to the original data frame format with phylostratum, gene ID, and expression data as columns.
as_data_frame(phyex_set, use_collapsed = FALSE)
phyex_set |
A BulkPhyloExpressionSet object |
use_collapsed |
Logical indicating whether to use collapsed expression data (default: FALSE) |
A data frame where column 1 contains phylostratum information, column 2 contains gene IDs, and columns 3+ contain expression data
# Convert BulkPhyloExpressionSet back to data frame
df <- as_data_frame(example_phyex_set)
df_collapsed <- as_data_frame(example_phyex_set, use_collapsed = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.