Hello,
I am working with data set that has 29 different samples with 9 different conditions (all in Condition column), for a total of 28 contrasts (conditions have 1 to 4 samples).
I am trying to make a PCA plot that shows all samples, but only uses the peaks that are differentially bound in contrast #19 in the PCA calculations. My code is as follows:
dba.plotPCA(proj_contrast_analysis, mask=1:29, label = DBA_CONDITION, labelSize = 0.65, contrast = 19)
Being very new to Diffbind, I would really appreciate if someone could confirm that it is correct. Also, if my code is correct, could someone provide me some advice on how to color each condition separately. Currently the PCA shows all samples, but it uses one color for each of the conditions in contrast 19, and one more color for all other samples (labeled "Other" in the plot).
Thank you very much in advance!