View source: R/scrnaseq_functions.R
get_top_markers | R Documentation |
Extract top markers from find_markers() results
get_top_markers(
markers,
n = 5,
per_group = TRUE,
distinct = FALSE,
group_col = "group",
feature_col = "gene",
filter_pattern = NULL,
...
)
markers |
Dataframe |
n |
Number of top features |
per_group |
Get features per group |
distinct |
Count each feature only once |
... |
get_seu_dataset() |> find_markers(group_by = "seurat_annotations") |> get_top_markers()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.