R/computeQ.R

Defines functions computeQ

Documented in computeQ

#' @title Automatically compute Q-value using Benjamini-Hocberg procedure.
#'
#' @description This package provides a help for researchers to compute automatically rapidly Q-value using Benjamini-Hocberg procedure.
#'
#' @param x
#'
#' @return NULL
#'
#' @examples computeQ(x)
#'
#' @export

computeQ <- function(x)
{
  (x$P.value*nrow(x))/(x$rank)
}
huynguyen250896/computeQ documentation built on July 14, 2020, 8:28 p.m.