map_cl_summary | R Documentation |
Map a dataset to a reference, and compare existing cluster calls to the reference comparison
map_cl_summary(ref.dat, ref.cl, map.dat, map.cl, method = "median")
ref.dat |
Training data matrix, usually log-transformed CPM |
ref.cl |
Training cluster factor object |
map.dat |
Data for cells to map to the training set. Should have the same genes as train.dat. |
map.cl |
Cluster assignments for the training set to compare to results of mapping. |
method |
Which statistic to compare. "median" or "mean". Default is "median". |
a list object with two objects:
map.df: A data.frame with the mapping results for each sample in map.dat to the reference
cl.map.df: A data.frame with cluster-level frequency of mapping for each cluster in map.cl to ref.cl
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.