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