From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id OHLgHyi9iV+GMQAA0tVLHw (envelope-from ) for ; Fri, 16 Oct 2020 15:32:56 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id YAm8Gyi9iV8XEwAAB5/wlQ (envelope-from ) for ; Fri, 16 Oct 2020 15:32:56 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 073499404C5 for ; Fri, 16 Oct 2020 15:32:55 +0000 (UTC) Received: from localhost ([::1]:49250 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kTRiw-00009w-Sj for larch@yhetil.org; Fri, 16 Oct 2020 11:32:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60892) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kTRbK-000526-6P for guix-patches@gnu.org; Fri, 16 Oct 2020 11:25:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48992) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kTRbJ-0008V7-Ts for guix-patches@gnu.org; Fri, 16 Oct 2020 11:25:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kTRbJ-0000JT-Qn for guix-patches@gnu.org; Fri, 16 Oct 2020 11:25:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44033] [PATCH 1/3] gnu: Add r-decon. Resent-From: Aniket Patil Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 16 Oct 2020 15:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 44033 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 44033@debbugs.gnu.org Cc: Aniket Patil X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16028618631125 (code B ref -1); Fri, 16 Oct 2020 15:25:01 +0000 Received: (at submit) by debbugs.gnu.org; 16 Oct 2020 15:24:23 +0000 Received: from localhost ([127.0.0.1]:60531 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kTRaf-0000I3-Jr for submit@debbugs.gnu.org; Fri, 16 Oct 2020 11:24:22 -0400 Received: from lists.gnu.org ([209.51.188.17]:40816) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kTPZv-0000dT-SS for submit@debbugs.gnu.org; Fri, 16 Oct 2020 09:15:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53428) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kTPZv-0006Lv-NU for guix-patches@gnu.org; Fri, 16 Oct 2020 09:15:27 -0400 Received: from mail-pg1-x529.google.com ([2607:f8b0:4864:20::529]:46321) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kTPZt-0006Gu-0g for guix-patches@gnu.org; Fri, 16 Oct 2020 09:15:27 -0400 Received: by mail-pg1-x529.google.com with SMTP id q21so1416053pgi.13 for ; Fri, 16 Oct 2020 06:15:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=W6A20VPTauukNQCp0XJOfn/IHv0HJZN5vif6uz6Awn4=; b=ISebLz5F7xQVhNBk0uXHUIuGluwhuKlOHGosoXY64L/ZnBmK6cMImz9pL3MDVWyyYE /PuXSc625ikFnXlxKaye+quok6fFP6scmi6oBV6GwU2j6FDCuj50NnQ7U5f2ctFmTip8 w/PAU6UCIxZALQd5vxpRLDKG0Ra0Bo9LGa93RGha0L3/Nu7uuhB1c01dr5omkFwDQbeP Zz0kB0Sz1z4Xo1uicoseYfK6gRyJa0gWnDYVrcJFWC1Zv8E+qepoPYuMpomL3Y9O+m/l wDp+XOmk2l/YLCKIdnUyNGPI1X5ADa98D4QANAiGHnHkk529QcCdc0AyC0cuEe4alFS5 Xk9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=W6A20VPTauukNQCp0XJOfn/IHv0HJZN5vif6uz6Awn4=; b=s1V7AzxWWJaOrHRZdwTCcGwaR/O9yLoJ/PfDgkJbDQS3HVYC/ze+xEWwh12jXIPYpq Pmg5rUfBDPpZSMjV1FUnBIK0hDvSkB3hK18HK4okSZ2MxUZOw+8I/JuiQvLDpqSGWgAW i5quKu/vrCrOuwr5PTYtD14eTYbFroUqvZpJZlRo8E+yof5/q6kET9fc6i2WbIb4u0hZ rHB9d1DFsdZdtMX/LIvBk6Rw3/1GPysWaQRQm4ZfFK8KQbj6hL6XEZk79Zt9wijccKBp jE4lwqaLQ7uMB5nTWhp9pLfEr0ljvlYXKdcVtvHR/033jw37kFuG1ebH7L9dLo23cMeL teAw== X-Gm-Message-State: AOAM531+2eNFirj5pniFYVvgCGQSxCHX5quoDRdb7z13O3ajcBoQZ30I Uir2Aw0da9DAN2GLo9MXsT0w4IKZli+m1Q== X-Google-Smtp-Source: ABdhPJzpOFqjCWBHR2JHhHFDLxr786CBnC52DEqiVYS13C0MGiqQyjiTkf0dRVi6DoeTDVzxBQUtPg== X-Received: by 2002:aa7:9299:0:b029:156:5edc:a506 with SMTP id j25-20020aa792990000b02901565edca506mr3726678pfa.52.1602854122318; Fri, 16 Oct 2020 06:15:22 -0700 (PDT) Received: from localhost.localdomain ([59.153.2.12]) by smtp.gmail.com with ESMTPSA id m11sm2883007pfa.69.2020.10.16.06.15.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Oct 2020 06:15:21 -0700 (PDT) From: Aniket Patil Date: Fri, 16 Oct 2020 18:43:36 +0530 Message-Id: <20201016131338.62737-1-aniket112.patil@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::529; envelope-from=aniket112.patil@gmail.com; helo=mail-pg1-x529.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Mailman-Approved-At: Fri, 16 Oct 2020 11:24:20 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -2.3 (--) X-Mailman-Approved-At: Fri, 16 Oct 2020 11:32:26 -0400 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=gmail.com header.s=20161025 header.b=ISebLz5F; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: 5.59 X-TUID: NAtNge9EjJMF * gnu/packages/cran.scm (r-decon): New variable. --- gnu/packages/cran.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 59a409f8e9..0370cdd993 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -24596,3 +24596,26 @@ enrichment analysis (GSEA) calculation with or without the absolute filtering. Without filtering, users can perform (original) two-tailed or one-tailed absolute GSEA.") (license license:gpl2))) + +(define-public r-decon + (package + (name "r-decon") + (version "1.2-4") + (source + (origin + (method url-fetch) + (uri (cran-uri "decon" version)) + (sha256 + (base32 + "1v4l0xq29rm8mks354g40g9jxn0didzlxg3g7z08m0gvj29zdj7s")))) + (properties `((upstream-name . "decon"))) + (build-system r-build-system) + (native-inputs `(("gfortran" ,gfortran))) + (home-page + "https://cran.r-project.org/web/packages/decon") + (synopsis + "Deconvolution Estimation in Measurement Error Models") + (description + "This package contains a collection of functions to deal with nonparametric measurement error problems using deconvolution kernel methods. We focus two measurement error models in the package: (1) an additive measurement error model, where the goal is to estimate the density or distribution function from contaminated data; (2) nonparametric regression model with errors-in-variables. The R functions allow the measurement errors to be either homoscedastic or heteroscedastic. To make the deconvolution estimators computationally more efficient in R, we adapt the \"Fast Fourier Transform\" (FFT) algorithm for density estimation with error-free data to the deconvolution kernel estimation. Several methods for the selection of the data-driven smoothing parameter are also provided in the package. See details in: Wang, X.F. and Wang, B. (2011). Deconvolution estimation in measurement error models: The R package decon. Journal of Statistical Software, 39(10), 1-24.") + (license license:gpl3+))) + -- 2.28.0