R/pvalTopN.R

pvalTopN <-
function(pval, topN) {
      s.pval <- sort(pval, method = "sh", index.return = TRUE);
      alpha <- s.pval$x[topN];
      index <- c(s.pval$ix[1:topN]);
      list(alpha=alpha, index=index)
}

Try the fcros package in your browser

Any scripts or data that you put into this service are public.

fcros documentation built on May 31, 2019, 5:03 p.m.