Displaying 2 results from an estimated 2 matches for "porig".
Did you mean:
orig
2005 Jan 16
1
p.adjust(<NA>s), was "Re: [BioC] limma and p-values"
...method = p.adjust.methods) {
method <- match.arg(tolower(method),p.adjust.methods)
if(method=="fdr") method <- "bh"
if(is.data.frame(p)) {
if(length(p)) for(i in 1:length(p)) p[[i]] <-
Recall(p[[i]],method=method)
return(p)
}
porig <- p
notna <- !is.na(p)
p <- as.vector(p[notna])
n <- length(p)
if (n == 1) return(porig)
if (n == 2 && method=="hommel") method <- "hochberg"
porig[notna] <- switch(method,
holm = {
i <- 1:n...
2008 Nov 23
4
help needed
hi I have a matrix (10x10) and I have to perform t tests on each row by
considering first 5 elements as data set A and next 5 as data set B. This
part is easy, However after one t test on each row, I have to randomly
permute each column to get new values for each row and then perform another
t.test. I can permute the column randomly using the function sample(x) but i
am having problem in fitting