plot_markers | R Documentation |
This function takes as input the output of the check_markers
function and generates a plot to visualize the most important metrics.
plot_markers(marker_check_df, amb_marker_cutoff = 0.5, label_size = 2)
marker_check_df |
Marker check data.frame - output of check_markers. |
amb_marker_cutoff |
Numeric. Cutoff at which to label ambiguous markers. Default 0.5. |
label_size |
Numeric, size of the text labels for ambiguous markers and unplotted markers. |
A ggplot object of the marker plot.
library(org.Hs.eg.db)
marker_file_path <- system.file("extdata", "pbmc_test.txt",
package = "garnett")
data(test_cds)
marker_check <- check_markers(test_cds,
marker_file_path,
db=org.Hs.eg.db,
cds_gene_id_type = "SYMBOL",
marker_file_gene_id_type = "SYMBOL")
plot_markers(marker_check)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.