Some code to cut and paste would be helpful. The following may help out.
library(multtest)
# create some p-values
p <- runif(100)
p <- sort(p)
p_adj <- mt.rawp2adjp(p, proc="BH", alpha = 0.05)
> str(p_adj)
List of 4
$ adjp : num [1:100, 1:2] 0.0142 0.0174 0.0254 0.0258 0.0736 ...
..- attr(*
Hello R experts,
I am trying to analyze this dataset and am stuck on this problem for quite
some time now.
I am using mt.rawp2adjp.
the output that came out was a matrix with two colums since I had asked it
to calculate the adjusted p values using one method.
so it has the two columns as: rawp BH
2 matches
Mail list logo