Skip to content

Commit

Permalink
sync
Browse files Browse the repository at this point in the history
  • Loading branch information
Enchufa2 committed Jul 29, 2024
1 parent 44197c7 commit ebc7c15
Show file tree
Hide file tree
Showing 20 changed files with 601 additions and 73 deletions.
20 changes: 10 additions & 10 deletions specs/R-CRAN-ActivePathways.spec
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
%global __brp_check_rpaths %{nil}
%global __requires_exclude ^libmpi
%global packname ActivePathways
%global packver 2.0.4
%global packver 2.0.5
%global rlibdir /usr/local/lib/R/library

Name: R-CRAN-%{packname}
Version: 2.0.4
Version: 2.0.5
Release: 1%{?dist}%{?buildtag}
Summary: Integrative Pathway Enrichment Analysis of Multivariate Omics Data

Expand All @@ -27,15 +27,15 @@ Framework for analysing multiple omics datasets in the context of
molecular pathways, biological processes and other types of gene sets. The
package uses p-value merging to combine gene- or protein-level signals,
followed by ranked hypergeometric tests to determine enriched pathways and
processes. This approach allows researchers to interpret a series of omics
datasets in the context of known biology and gene function, and discover
processes. Genes can be integrated using directional constraints that
reflect how the input datasets are expected interact with one another.
This approach allows researchers to interpret a series of omics datasets
in the context of known biology and gene function, and discover
associations that are only apparent when several datasets are combined.
The first version of the package is part of the following publication:
Integrative Pathway Enrichment Analysis of Multivariate Omics Data.
Paczkowska M^, Barenboim J^, Sintupisut N, Fox NS, Zhu H, Abd-Rabbo D, Mee
MW, Boutros PC, PCAWG Drivers and Functional Interpretation Working Group;
Reimand J, PCAWG Consortium. Nature Communications (2020)
<doi:10.1038/s41467-019-13983-9>.
The recent version of the package is part of the following publication:
Directional integration and pathway enrichment analysis for multi-omics
data. Slobodyanyuk M^, Bahcheli AT^, Klein ZP, Bayati M, Strug LJ, Reimand
J. Nature Communications (2024) <doi:10.1038/s41467-024-49986-4>.

%prep
%setup -q -c -n %{packname}
Expand Down
19 changes: 7 additions & 12 deletions specs/R-CRAN-BFF.spec
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
%global __brp_check_rpaths %{nil}
%global __requires_exclude ^libmpi
%global packname BFF
%global packver 3.0.1
%global packver 4.2.1
%global rlibdir /usr/local/lib/R/library

Name: R-CRAN-%{packname}
Version: 3.0.1
Version: 4.2.1
Release: 1%{?dist}%{?buildtag}
Summary: Bayes Factor Functions

Expand All @@ -17,22 +17,18 @@ Source0: %{url}&version=%{packver}#/%{packname}_%{packver}.tar.gz
BuildRequires: R-devel >= 2.10
Requires: R-core >= 2.10
BuildArch: noarch
BuildRequires: R-CRAN-BSDA
BuildRequires: R-grDevices
BuildRequires: R-graphics
BuildRequires: R-CRAN-hypergeo
BuildRequires: R-CRAN-ggplot2
BuildRequires: R-CRAN-Matrix
BuildRequires: R-CRAN-gsl
BuildRequires: R-stats
Requires: R-CRAN-BSDA
BuildRequires: R-CRAN-rlang
Requires: R-grDevices
Requires: R-graphics
Requires: R-CRAN-hypergeo
Requires: R-CRAN-ggplot2
Requires: R-CRAN-Matrix
Requires: R-CRAN-gsl
Requires: R-stats
Requires: R-CRAN-rlang

%description
Bayes factors represent the ratio of probabilities assigned to data by
Expand All @@ -50,10 +46,9 @@ thresholds to determine "statistical significance." BFFs are available in
closed form and can be easily computed from z, t, chi-squared, and F
statistics. They depend on hyperparameters "r" and "tau^2", which
determine the shape and scale of the prior distributions defining the
alternative hypotheses. For replicated designs, the "r" parameter in each
function can be adjusted to be greater than 1. Plots of BFFs versus effect
size provide informative summaries of hypothesis tests that can be easily
aggregated across studies.
alternative hypotheses. Plots of BFFs versus effect size provide
informative summaries of hypothesis tests that can be easily aggregated
across studies.

%prep
%setup -q -c -n %{packname}
Expand Down
10 changes: 6 additions & 4 deletions specs/R-CRAN-CDCPLACES.spec
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
%global __brp_check_rpaths %{nil}
%global __requires_exclude ^libmpi
%global packname CDCPLACES
%global packver 1.1.5
%global packver 1.1.6
%global rlibdir /usr/local/lib/R/library

Name: R-CRAN-%{packname}
Version: 1.1.5
Version: 1.1.6
Release: 1%{?dist}%{?buildtag}
Summary: Access the 'CDC PLACES' API

Expand All @@ -21,20 +21,22 @@ BuildRequires: R-CRAN-curl
BuildRequires: R-CRAN-dplyr
BuildRequires: R-CRAN-httr
BuildRequires: R-CRAN-httr2
BuildRequires: R-CRAN-jsonlite
BuildRequires: R-CRAN-yyjsonr
BuildRequires: R-CRAN-tidyr
BuildRequires: R-CRAN-tigris
BuildRequires: R-CRAN-sf
BuildRequires: R-CRAN-usa
BuildRequires: R-CRAN-zctaCrosswalk
Requires: R-CRAN-curl
Requires: R-CRAN-dplyr
Requires: R-CRAN-httr
Requires: R-CRAN-httr2
Requires: R-CRAN-jsonlite
Requires: R-CRAN-yyjsonr
Requires: R-CRAN-tidyr
Requires: R-CRAN-tigris
Requires: R-CRAN-sf
Requires: R-CRAN-usa
Requires: R-CRAN-zctaCrosswalk

%description
Allows users to seamlessly query several 'CDC PLACES' APIs
Expand Down
5 changes: 3 additions & 2 deletions specs/R-CRAN-DescToolsAddIns.spec
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
%global __brp_check_rpaths %{nil}
%global __requires_exclude ^libmpi
%global packname DescToolsAddIns
%global packver 1.10
%global packver 1.11
%global rlibdir /usr/local/lib/R/library

Name: R-CRAN-%{packname}
Version: 1.10
Version: 1.11
Release: 1%{?dist}%{?buildtag}
Summary: Interactive Functions to be Used as Shortcuts in 'RStudio'

Expand Down
59 changes: 59 additions & 0 deletions specs/R-CRAN-HypergeoMat.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
%global __brp_check_rpaths %{nil}
%global __requires_exclude ^libmpi
%global packname HypergeoMat
%global packver 4.0.3
%global rlibdir /usr/local/lib/R/library

Name: R-CRAN-%{packname}
Version: 4.0.3
Release: 1%{?dist}%{?buildtag}
Summary: Hypergeometric Function of a Matrix Argument

License: GPL-3
URL: https://cran.r-project.org/package=%{packname}
Source0: %{url}&version=%{packver}#/%{packname}_%{packver}.tar.gz


BuildRequires: R-devel
Requires: R-core
BuildRequires: R-CRAN-Rcpp >= 1.0.2
BuildRequires: R-CRAN-EigenR
BuildRequires: R-CRAN-gsl
BuildRequires: R-CRAN-JuliaConnectoR
BuildRequires: R-CRAN-RcppEigen
Requires: R-CRAN-Rcpp >= 1.0.2
Requires: R-CRAN-EigenR
Requires: R-CRAN-gsl
Requires: R-CRAN-JuliaConnectoR

%description
Evaluates the hypergeometric functions of a matrix argument, which appear
in random matrix theory. This is an implementation of Koev & Edelman's
algorithm (2006) <doi:10.1090/S0025-5718-06-01824-2>.

%prep
%setup -q -c -n %{packname}

# fix end of executable files
find -type f -executable -exec grep -Iq . {} \; -exec sed -i -e '$a\' {} \;
# prevent binary stripping
[ -d %{packname}/src ] && find %{packname}/src -type f -exec \
sed -i 's@/usr/bin/strip@/usr/bin/true@g' {} \; || true
[ -d %{packname}/src ] && find %{packname}/src/Make* -type f -exec \
sed -i 's@-g0@@g' {} \; || true
# don't allow local prefix in executable scripts
find -type f -executable -exec sed -Ei 's@#!( )*/usr/local/bin@#!/usr/bin@g' {} \;

%build

%install

mkdir -p %{buildroot}%{rlibdir}
%{_bindir}/R CMD INSTALL -l %{buildroot}%{rlibdir} %{packname}
test -d %{packname}/src && (cd %{packname}/src; rm -f *.o *.so)
rm -f %{buildroot}%{rlibdir}/R.css
# remove buildroot from installed files
find %{buildroot}%{rlibdir} -type f -exec sed -i "s@%{buildroot}@@g" {} \;

%files
%{rlibdir}/%{packname}
61 changes: 61 additions & 0 deletions specs/R-CRAN-IDSpatialStats.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
%global __brp_check_rpaths %{nil}
%global __requires_exclude ^libmpi
%global packname IDSpatialStats
%global packver 0.4.0
%global rlibdir /usr/local/lib/R/library

Name: R-CRAN-%{packname}
Version: 0.4.0
Release: 1%{?dist}%{?buildtag}
Summary: Estimate Global Clustering in Infectious Disease

License: GPL (>= 2)
URL: https://cran.r-project.org/package=%{packname}
Source0: %{url}&version=%{packver}#/%{packname}_%{packver}.tar.gz


BuildRequires: R-devel >= 2.10
Requires: R-core >= 2.10
BuildRequires: R-CRAN-doParallel
BuildRequires: R-CRAN-foreach
BuildRequires: R-parallel
BuildRequires: R-CRAN-igraph
BuildRequires: R-CRAN-spatstat.explore
BuildRequires: R-CRAN-spatstat.geom
Requires: R-CRAN-doParallel
Requires: R-CRAN-foreach
Requires: R-parallel
Requires: R-CRAN-igraph
Requires: R-CRAN-spatstat.explore
Requires: R-CRAN-spatstat.geom

%description
Implements various novel and standard clustering statistics and other
analyses useful for understanding the spread of infectious disease.

%prep
%setup -q -c -n %{packname}

# fix end of executable files
find -type f -executable -exec grep -Iq . {} \; -exec sed -i -e '$a\' {} \;
# prevent binary stripping
[ -d %{packname}/src ] && find %{packname}/src -type f -exec \
sed -i 's@/usr/bin/strip@/usr/bin/true@g' {} \; || true
[ -d %{packname}/src ] && find %{packname}/src/Make* -type f -exec \
sed -i 's@-g0@@g' {} \; || true
# don't allow local prefix in executable scripts
find -type f -executable -exec sed -Ei 's@#!( )*/usr/local/bin@#!/usr/bin@g' {} \;

%build

%install

mkdir -p %{buildroot}%{rlibdir}
%{_bindir}/R CMD INSTALL -l %{buildroot}%{rlibdir} %{packname}
test -d %{packname}/src && (cd %{packname}/src; rm -f *.o *.so)
rm -f %{buildroot}%{rlibdir}/R.css
# remove buildroot from installed files
find %{buildroot}%{rlibdir} -type f -exec sed -i "s@%{buildroot}@@g" {} \;

%files
%{rlibdir}/%{packname}
4 changes: 2 additions & 2 deletions specs/R-CRAN-PatientProfiles.spec
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
%global __brp_check_rpaths %{nil}
%global __requires_exclude ^libmpi
%global packname PatientProfiles
%global packver 1.1.0
%global packver 1.1.1
%global rlibdir /usr/local/lib/R/library

Name: R-CRAN-%{packname}
Version: 1.1.0
Version: 1.1.1
Release: 1%{?dist}%{?buildtag}
Summary: Identify Characteristics of Patients in the OMOP Common Data Model

Expand Down
63 changes: 63 additions & 0 deletions specs/R-CRAN-corrMCT.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
%global __brp_check_rpaths %{nil}
%global __requires_exclude ^libmpi
%global packname corrMCT
%global packver 0.1.0
%global rlibdir /usr/local/lib/R/library

Name: R-CRAN-%{packname}
Version: 0.1.0
Release: 1%{?dist}%{?buildtag}
Summary: Correlated Weighted Hochberg

License: GPL (>= 3)
URL: https://cran.r-project.org/package=%{packname}
Source0: %{url}&version=%{packver}#/%{packname}_%{packver}.tar.gz


BuildRequires: R-devel
Requires: R-core
BuildArch: noarch
BuildRequires: R-CRAN-dplyr
BuildRequires: R-CRAN-glue
BuildRequires: R-CRAN-magrittr
BuildRequires: R-CRAN-Matrix
BuildRequires: R-CRAN-tibble
Requires: R-CRAN-dplyr
Requires: R-CRAN-glue
Requires: R-CRAN-magrittr
Requires: R-CRAN-Matrix
Requires: R-CRAN-tibble

%description
Perform additional multiple testing procedure methods to p.adjust(), such
as weighted Hochberg (Tamhane, A. C., & Liu, L., 2008)
<doi:10.1093/biomet/asn018>, ICC adjusted Bonferroni method (Shi, Q.,
Pavey, E. S., & Carter, R. E., 2012) <doi:10.1002/pst.1514> and a new
correlation corrected weighted Hochberg for correlated endpoints.

%prep
%setup -q -c -n %{packname}

# fix end of executable files
find -type f -executable -exec grep -Iq . {} \; -exec sed -i -e '$a\' {} \;
# prevent binary stripping
[ -d %{packname}/src ] && find %{packname}/src -type f -exec \
sed -i 's@/usr/bin/strip@/usr/bin/true@g' {} \; || true
[ -d %{packname}/src ] && find %{packname}/src/Make* -type f -exec \
sed -i 's@-g0@@g' {} \; || true
# don't allow local prefix in executable scripts
find -type f -executable -exec sed -Ei 's@#!( )*/usr/local/bin@#!/usr/bin@g' {} \;

%build

%install

mkdir -p %{buildroot}%{rlibdir}
%{_bindir}/R CMD INSTALL -l %{buildroot}%{rlibdir} %{packname}
test -d %{packname}/src && (cd %{packname}/src; rm -f *.o *.so)
rm -f %{buildroot}%{rlibdir}/R.css
# remove buildroot from installed files
find %{buildroot}%{rlibdir} -type f -exec sed -i "s@%{buildroot}@@g" {} \;

%files
%{rlibdir}/%{packname}
4 changes: 2 additions & 2 deletions specs/R-CRAN-hgwrr.spec
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
%global __brp_check_rpaths %{nil}
%global __requires_exclude ^libmpi
%global packname hgwrr
%global packver 0.4-0
%global packver 0.5-0
%global rlibdir /usr/local/lib/R/library

Name: R-CRAN-%{packname}
Version: 0.4.0
Version: 0.5.0
Release: 1%{?dist}%{?buildtag}
Summary: Hierarchical and Geographically Weighted Regression

Expand Down
Loading

0 comments on commit ebc7c15

Please sign in to comment.