Calculate adjusted p-values for methods where only nominal p-values are
available in a COBRAData object.
Arguments
- cobradata
A
COBRADataobject.- method
A character string giving the method (selected from
p.adjust.methods()) that will be used to perform the adjustment.
Examples
data(cobradata_example)
cobradata_example <- calculate_adjp(cobradata_example, method = "BH")
#> Adding empty sval slot to object
#> Object up to date