View source: R/make_data_object.R
make_data_object | R Documentation |
This function creates the data object used in FRmatch
.
See an example of the data object in sce.example
.
make_data_object( dat, tab, markers, cluster_marker_info = NULL, f_score = NULL, cluster_order = NULL )
dat |
Cell-by-gene expression data in a data frame or equivalent format. The first column is cell names, followed by columns of each gene. |
tab |
Cluster membership of each cell in a data frame or equivalent format. The first column is cell names, and the second column is cluster labels. |
markers |
A vector of marker genes. |
cluster_marker_info |
Optionally, a data frame of maker genes for each cluster. |
f_score |
Optionally, a data frame of F-beta scores for each cluster. |
cluster_order |
Optionally, a vector of ordered cluster names, which may reflect the taxonomy of the cell type clusters. |
A data object of the SingleCellExperiment class
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.