% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils.R
\title{Compute alpha weights}
alpha1MR(pv, threshold = max(pv))
\item{pv}{vector of p-values}

\item{threshold}{the threshold value that was used to select DE genes}
Transform a vector of p-values into weights.
Computes a set of weights from p-values using the formula \code{1-pv/threshold}.

load(system.file("extdata/E-GEOD-21942.topTable.RData", package = "ROntoTools"))


Calin Voichita and Sorin Draghici