diff options
author | lingnanyuan <1297162327@qq.com> | 2017-11-03 15:18:46 -0500 |
---|---|---|
committer | Christoph Junghans <christoph.junghans@gmail.com> | 2017-11-03 14:18:46 -0600 |
commit | d54627659ab697e31a5ca1b8147c43c492072bd8 (patch) | |
tree | 40f69460662860760c7e3d9f1097f9eae6486fe2 /var | |
parent | 95e290eaf3e70e2ad6a3d301f235166350025a54 (diff) | |
download | spack-d54627659ab697e31a5ca1b8147c43c492072bd8.tar.gz spack-d54627659ab697e31a5ca1b8147c43c492072bd8.tar.bz2 spack-d54627659ab697e31a5ca1b8147c43c492072bd8.tar.xz spack-d54627659ab697e31a5ca1b8147c43c492072bd8.zip |
r-impute: Create new package. (#6116)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/r-impute/package.py | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/r-impute/package.py b/var/spack/repos/builtin/packages/r-impute/package.py new file mode 100644 index 0000000000..eb3e6872ca --- /dev/null +++ b/var/spack/repos/builtin/packages/r-impute/package.py @@ -0,0 +1,36 @@ +############################################################################## +# Copyright (c) 2013-2017, Lawrence Livermore National Security, LLC. +# Produced at the Lawrence Livermore National Laboratory. +# +# This file is part of Spack. +# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved. +# LLNL-CODE-647188 +# +# For details, see https://github.com/llnl/spack +# Please also see the NOTICE and LICENSE files for our notice and the LGPL. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License (as +# published by the Free Software Foundation) version 2.1, February 1999. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and +# conditions of the GNU Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +############################################################################## +from spack import * + + +class RImpute(RPackage): + """Imputation for microarray data (currently KNN only).""" + + homepage = "https://www.bioconductor.org/packages/impute/" + url = "https://git.bioconductor.org/packages/impute" + + version('1.50.1', git='https://git.bioconductor.org/packages/impute', commit='31d1cc141797afdc83743e1d95aab8a90ee19b71') + + depends_on('r@3.4.0:3.4.9', when='@1.50.1') |