Convert a DiffBind analyses object (class DBA
) into an object of class power4omics
.
as.power4omics(dba.object, contrast = 1, p.adjust.method = "BH")
An object of class DBA
obtained from DiffBind.
Numeric value indicating the index corresponding to a contrast stored in the dba.object. Default: 1
.
String indicating the method to use to correct the p-values. One among: "holm", "hochberg", "hommel", "bonferroni", "BH", "BY", "fdr", "none". Default: BH
.
An object of class power4omics.stats
.