Identify the genes most specifically expressed in groups of cells
top_markers(cds, group_cells_by = "cluster",
genes_to_test_per_group = 25, reduction_method = "UMAP",
marker_sig_test = TRUE, reference_cells = NULL, cores = 1,
verbose = FALSE)
A cell_data_set object to calculate top markers for.
String indicating what to group cells by for comparison. Default is "cluster".
Numeric, how many genes of the top ranked specific genes by Jenson-Shannon to do the more expensive regression test on.
String indicating the method used for dimensionality reduction. Currently only "UMAP" is supported.
A flag indicating whether to assess the discriminative power of each marker through logistic regression. Can be slow, consider disabling to speed up top_markers().
If provided, top_markers will perform the marker significance test against a "reference set" of cells. Must be either a list of cell ids from colnames(cds), or a positive integer. If the latter, top_markers() will randomly select the specified number of reference cells. Accelerates the marker significance test at some cost in sensitivity.
Number of cores to use.
Whether to print verbose progress output.