DiffBind: dba.plotProfile() Change sample order
Hi,
Is it possible to change the order of samples when using dba.plotProfile()? I’ve tried defining them with the samples= parameter, but I haven’t been successful. I’ve made lovely plots (this is a great tool!), but instead of the default order (ex A, B, C, D), I’d like to reorder them (ex B, A, D, C).
This is after I’ve defined my sites with this line:
repObj <- dba.report(dbObj, contrast=2, bDB=TRUE)
If it changes things, I have quite a few samples, most of which are not used to create contrast 2. I’m looking at the profiles across the samples at the sites defined by contrast 2.
Thanks!
Kate
• 16 views