From patchwork Wed Dec 7 05:18:34 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?TcSDZMSDbGluIElvbmVsIFBhdHJhyJljdQ==?= X-Patchwork-Id: 45090 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id C069C27BBEB; Wed, 7 Dec 2022 05:20:26 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id A04C227BBE9 for ; Wed, 7 Dec 2022 05:20:24 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p2mqp-0006j9-VI; Wed, 07 Dec 2022 00:20:12 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p2mql-0006gv-1t for guix-patches@gnu.org; Wed, 07 Dec 2022 00:20:07 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p2mqk-0007sF-Pt for guix-patches@gnu.org; Wed, 07 Dec 2022 00:20:06 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p2mqk-0007GD-KH; Wed, 07 Dec 2022 00:20:06 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#59870] [PATCH 09/12] gnu: Add r-gunifrac. Resent-From: =?utf-8?b?TcSDZMSDbGlu?= Ionel =?utf-8?b?UGF0cmHImWN1?= Original-Sender: "Debbugs-submit" Resent-CC: rekado@elephly.net, guix-patches@gnu.org Resent-Date: Wed, 07 Dec 2022 05:20:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59870 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: <59870@debbugs.gnu.org> Cc: rekado@elephly.net X-Debbugs-Original-Xcc: rekado@elephly.net Received: via spool by 59870-submit@debbugs.gnu.org id=B59870.167039036227810 (code B ref 59870); Wed, 07 Dec 2022 05:20:06 +0000 Received: (at 59870) by debbugs.gnu.org; 7 Dec 2022 05:19:22 +0000 Received: from localhost ([127.0.0.1]:47527 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p2mq1-0007ET-Ir for submit@debbugs.gnu.org; Wed, 07 Dec 2022 00:19:21 -0500 Received: from c2062.mx.srv.dfn.de ([194.95.238.172]:39401) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p2mpu-0007CX-DI for 59870@debbugs.gnu.org; Wed, 07 Dec 2022 00:19:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mdc-berlin.de; h= content-type:content-type:content-transfer-encoding:mime-version :references:in-reply-to:x-mailer:message-id:date:date:subject :subject:from:from:received; s=mdc; t=1670390345; x=1672204746; bh=zj7euM5vRHgSm0vUoIhSuuSA5ela1TDTmbPLYpgEEOM=; b=ZnMsx2i24hGi OHoHMd5pEBiLp312WU5rVa6h2G+/NzGd/Q8ZoIktYkLaG3Vfi+JZEv+TOH73wXa9 VN8uDwK1d/0UHfC9hNHxh8Ex2kPb/JuTglTJFah0nWjXT48Fpwh/GNMIAmiMxZ3E P1OkJI1n1gjtFI5I9ludhDzHGySEFfw= Received: from SW-IT-P-EX4.mdc-berlin.net (mgw4.mdc-berlin.de [141.80.113.62]) by c2062.mx.srv.dfn.de (Postfix) with ESMTPS id CAB7B3007A9 for <59870@debbugs.gnu.org>; Wed, 7 Dec 2022 06:19:05 +0100 (CET) Received: from Guix-Ubuntu18.04 (141.80.113.106) by SW-IT-P-EX4.mdc-berlin.net (141.80.113.62) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.16; Wed, 7 Dec 2022 06:19:00 +0100 From: =?utf-8?b?TcSDZMSDbGlu?= Ionel =?utf-8?b?UGF0cmHImWN1?= Date: Wed, 7 Dec 2022 06:18:34 +0100 Message-ID: <20221207051837.10970-9-madalinionel.patrascu@mdc-berlin.de> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221207051837.10970-1-madalinionel.patrascu@mdc-berlin.de> References: <20221207051837.10970-1-madalinionel.patrascu@mdc-berlin.de> MIME-Version: 1.0 X-Originating-IP: [141.80.113.106] X-ClientProxiedBy: SW-IT-P-EX2.mdc-berlin.net (141.80.113.60) To SW-IT-P-EX4.mdc-berlin.net (141.80.113.62) X-TM-AS-Product-Ver: SMEX-14.0.0.3092-9.0.1002-27308.005 X-TM-AS-Result: No-10--1.655400-5.000000 X-TMASE-MatchedRID: GQw6Xh/XS6X/R1NSMc2qCU7nLUqYrlslFIuBIWrdOePfUZT83lbkEIkv NBTh771pRRa406V/YwyBUGewL2YXt8Z8zsjIitoJnVTWWiNp+v/kwFzTzcgzhFjGZC+u+XgRqbs +nJ/tFJF8lvVVMz3+Hf+CEHfQvY8OxHGd06V1VMbjrrKx28A9XtG3Y6ijqBt3TPm/MsQarwMHyE fDs9bIX2HRhqxXn1h/ElOOOz3JPpijxYyRBa/qJcFwgTvxipFa9xS3mVzWUuAojN1lLei7Raw52 41lezYT74/8rJj3yBP6nobMBs9LOmg/Ekz0UeVTuq3PsgNpD5Xx3QAEnFDftNNE8n5DqWZqTRsK iSYyF2xnP5GcedXM/1koJqWxWZxCNZA9irUk5qtj27eUrb9iufzsdE1PQouS X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--1.655400-5.000000 X-TMASE-Version: SMEX-14.0.0.3092-9.0.1002-27308.005 X-TM-SNTS-SMTP: C3E1EF2E438F2F37F42448E3C84251A95CCE06496CEB40A133028A8260F005792002:F X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/cran.scm (r-gunifrac): New variable. --- gnu/packages/cran.scm | 44 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 415098aed3..646737ea31 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -667,6 +667,50 @@ (define-public r-guix-install repositories, replacing the need for installation via @code{devtools}.") (license license:gpl3+))) +(define-public r-gunifrac + (package + (name "r-gunifrac") + (version "1.7") + (source (origin + (method url-fetch) + (uri (cran-uri "GUniFrac" version)) + (sha256 + (base32 + "13qb5fw9km6p5x8li9x3liqbh833wf2v73npj8jl3msplzfk82vp")))) + (properties `((upstream-name . "GUniFrac"))) + (build-system r-build-system) + (propagated-inputs + (list r-ape + r-dirmult + r-foreach + r-ggplot2 + r-ggrepel + r-mass + r-matrix + r-matrixstats + r-modeest + r-rcpp + r-rmutil + r-statmod + r-vegan)) + (native-inputs (list r-knitr)) + (home-page "https://cran.r-project.org/package=GUniFrac") + (synopsis + "Generalized UniFrac distances and methods for microbiome data analysis") + (description + "This package provides a suite of methods for powerful and robust microbiome +data analysis, including data normalization, data simulation, community-level +association testing and differential abundance analysis. It implements generalized +UniFrac distances, Geometric Mean of Pairwise Ratios (GMPR) normalization, +semiparametric data simulator, distance-based statistical methods, and feature- +based statistical methods. The distance-based statistical methods include three +extensions of PERMANOVA: (1) PERMANOVA using the Freedman-Lane permutation scheme, +(2) PERMANOVA omnibus test using multiple matrices, and (3) analytical approach +to approximating PERMANOVA p-value. Feature-based statistical methods include +linear model-based methods for differential abundance analysis of zero-inflated +high-dimensional compositional data.") + (license license:gpl3))) + (define-public r-ids (package (name "r-ids")