plot_scatterplot: Compare two cell type prioritizations as a scatterplot

View source: R/plot_scatterplot.R

plot_scatterplotR Documentation

Compare two cell type prioritizations as a scatterplot

Description

Compare two sets of cell type prioritization results, calculated for the same cell types, by comparing them in a scatterplot, with the AUCs from the first set of Augur results on the x-axis and the second set on the y-axis. This function can be useful for understanding how a particular parameter or preprocessing choice influences cell type prioritization.

Usage

plot_scatterplot(augur1, augur2, top_n = 0)

Arguments

augur1

first set of Augur results, obtained from calculate_auc

augur2

second set of Augur results, obtained from calculate_auc

top_n

optionally, add labels for the top n cell types whose AUCs display the greatest change between the first and second Augur results into the plot

Value

a ggplot2 object


neurorestore/Augur documentation built on Feb. 28, 2024, 3:03 a.m.