Get scatter plot for association of a cell subtype proportion with scores for a factor
get_subclust_enr_dotplot(
container,
ctype,
res,
subtype,
factor_use,
ctype_cur = ctype
)
A ggplot object of each donor's cell subcluster proportions against donor scores for a selected factor.
environment Project container that stores sub-containers for each cell type as well as results and plots from all analyses
character The cell type to plot
numeric The subcluster resolution to use
numeric The number corresponding with the subtype of the major cell type to plot
numeric The factor to plot
character The name of the major cell type used in the main analysis