Description Usage Arguments Value Examples
View source: R/cell_data_set.R
Create a new cell_data_set object.
1 | new_cell_data_set(expression_data, cell_metadata = NULL, gene_metadata = NULL)
|
expression_data |
expression data matrix for an experiment, can be a sparseMatrix. |
cell_metadata |
data frame containing attributes of individual cells,
where |
gene_metadata |
data frame containing attributes of features
(e.g. genes), where
|
a new cell_data_set object
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | small_a549_colData_df <- readRDS(system.file("extdata",
"small_a549_dex_pdata.rda",
package = "monocle3"))
small_a549_rowData_df <- readRDS(system.file("extdata",
"small_a549_dex_fdata.rda",
package = "monocle3"))
small_a549_exprs <- readRDS(system.file("extdata",
"small_a549_dex_exprs.rda",
package = "monocle3"))
small_a549_exprs <- small_a549_exprs[,row.names(small_a549_colData_df)]
cds <- new_cell_data_set(expression_data = small_a549_exprs,
cell_metadata = small_a549_colData_df,
gene_metadata = small_a549_rowData_df)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.