Entering edit mode
Hello! I am performing a differential analysis on ATAC-seq data in DiffBind. I would like to know if it is possible to plot ellipses around a PCA plot. I generated my plots with the following code:
dba.plotPCA(ATAC,DBA_REPLICATE,label=DBA_TISSUE,
vColors = c("#E69F00","#33CC00", "#0099FF") , labelSize = 0.5 , dotSize = 0.7)
Is there any option that I can add?
If you use ggplot2 to make your plot, there is a
stat.ellipse
function you can add on.