summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-qvalue/package.py
blob: a8f63c3e3cc4486f05d2e01c37f5c4aa9713a342 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Copyright 2013-2022 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)

from spack.package import *


class RQvalue(RPackage):
    """Q-value estimation for false discovery rate control.

       This package takes a list of p-values resulting from the simultaneous
       testing of many hypotheses and estimates their q-values and local FDR
       values. The q-value of a test measures the proportion of false positives
       incurred (called the false discovery rate) when that particular test is
       called significant. The local FDR measures the posterior probability the
       null hypothesis is true given the test's p-value. Various plots are
       automatically generated, allowing one to make sensible significance cut-
       offs. Several mathematical results have recently been shown on the
       conservative accuracy of the estimated q-values from this software. The
       software can be applied to problems in genomics, brain imaging,
       astrophysics, and data mining."""

    bioc = "qvalue"

    version('2.26.0', commit='6d7410d4b8673bcf9065e054670c1fbcb917a27e')
    version('2.22.0', commit='b4bde8198252737b287fd7f9a4ed697f57fad92c')
    version('2.16.0', commit='5efbe20ef522a45a7a04b681f72bb9a12e2747ae')
    version('2.14.1', commit='b694e4b264f25250eb1d1115e70c07f65767c20e')
    version('2.12.0', commit='7df64ebfcbe69dcbf8b88cb6ef0068bf16979673')
    version('2.10.0', commit='581e5664b4356440a96310897398f01a98ceb81b')
    version('2.8.0', commit='c7bf3315619d42d800f57a36670c25a7495ded72')

    depends_on('r@2.10:', type=('build', 'run'))
    depends_on('r-ggplot2', type=('build', 'run'))
    depends_on('r-reshape2', type=('build', 'run'))