View source: R/phyloset_bulk.R
| BulkPhyloExpressionSet_from_df | R Documentation |
Convert a data frame with phylostratum, gene ID, and expression data into a BulkPhyloExpressionSet object.
BulkPhyloExpressionSet_from_df(
data,
groups = colnames(data[, 3:ncol(data)]),
name = "PhyloExpressionSet",
strata_legend = NULL,
...
)
data |
A data frame where column 1 contains phylostratum information, column 2 contains gene IDs, and columns 3+ contain expression data |
groups |
A factor or character vector indicating which group each sample belongs to. Default uses column names from expression data |
name |
A character string naming the dataset. Default uses the variable name |
strata_legend |
A data frame with two columns: phylostratum assignments and name of each stratum. If NULL, no labels will be added (default: NULL) If NULL, uses sorted unique values from column 1 |
... |
Additional arguments passed to BulkPhyloExpressionSet constructor |
A BulkPhyloExpressionSet object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.