Plot Ambient RNA model fits
PlotAmbientRNA( u1, u2, coefs, residuals, genes_label = NULL, genes_fit = NULL, label_n = 10, residual_cutoff = 2 )
| u1 | mean expression in-group |
|---|---|
| u2 | mean expreession out-group |
| coefs | model coefficients |
| residuals | model residuals |
| genes_label | genes to label |
| genes_fit | genes used for fitting |
| label_n | number of genes to label |
| residual_cutoff | residual cutoff |
ggplot2