Sample-wise correlation of cell type proportions to compare manual gating and cyCONDOR.
corr_plot_comparison.Rd
'corr_plot_comparison' performs a sample-wise correlation of cell type proportions obtained via manual gating and via clustering on cyCONDOR. The result is shown in a correlogram.
Usage
corr_plot_comparison(
condor_df,
flowjo_df,
sample_col,
method_corr = "pearson",
tl.cex = 1,
cl.cex = 1
)
Arguments
- condor_df
data frame containing the cell type frequencies obtained via clustering and annotation in cyCONDOR.
- flowjo_df
data frame containing the cell type frequencies obtained via manual gating and annotation (e.g. FlowJo).
- sample_col
name of the column containing sample names. This column name needs to be matching between the two data frames.
- method_corr
correlation method used in the correlogram (default = "pearson").
- tl.cex
Numeric, for the size of text label (variable names).
- cl.cex
Numeric, text size of number-label in color-legend