From f435cb9974c43df3216c8a1437f8f9afa2356506 Mon Sep 17 00:00:00 2001 From: Luca Coraggio Date: Mon, 17 Apr 2023 18:10:05 +0000 Subject: version 2.0.4 --- DESCRIPTION | 8 ++++---- MD5 | 6 +++--- R/rmad.R | 3 ++- inst/CITATION | 22 +++++++++++----------- 4 files changed, 20 insertions(+), 19 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index ec034fb..cb9322e 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -19,8 +19,8 @@ NeedsCompilation: yes Imports: stats, graphics, Matrix, methods, parallel, foreach, doParallel, utils License: GPL (>= 2) -Version: 2.0.2 -Date: 2022-06-20 -Packaged: 2022-06-20 16:38:10 UTC; luco00 +Version: 2.0.4 +Date: 2023-04-17 +Packaged: 2023-04-17 18:47:30 UTC; luco00 Repository: CRAN -Date/Publication: 2022-06-20 17:10:02 UTC +Date/Publication: 2023-04-17 19:10:05 UTC diff --git a/MD5 b/MD5 index d254ad9..e715da5 100644 --- a/MD5 +++ b/MD5 @@ -1,14 +1,14 @@ -bf1532ec667e22d8d1bd27472c7782fd *DESCRIPTION +6f309377ac7e34e10a0384b0997bd6cf *DESCRIPTION 8c0030301d3f56e71ec4020f932a0cb2 *NAMESPACE 2a0b0fcea949b658304f3a1711849b4b *NEWS 852c9f1717e4dbd26ed8c549edc3c588 *R/check_inputs.R 228fb1b443a4c9eaf4fddcdf9c8a31a9 *R/cv_loss.R 8c8c70764c8a9ab72f23ba031e0f330d *R/plot_print_methods.R -0b8ff21b41422f17ef7822a33ac061da *R/rmad.R +4e64117dcb0c8eb878339622e9b53370 *R/rmad.R d1f433016fbde7e9f32dc8c02ce47c53 *R/rsc.R 98992e4ed337da761f641cb2960f7579 *R/rsc_cv.R cafa1636fd3af0dd260cbfcb27df210e *R/zzz.R -02a06053793e54ce413a378a05ccc3ce *inst/CITATION +3983b0b5d0074f28b17f2000c39eafe8 *inst/CITATION 1e6af804927098cfa6c235278682578c *man/plot.cv_rsc.Rd 25f03f13d9f6c1fc5599f7aa36072a31 *man/rmad.Rd 8cc5c9373c7aa8835e9818d0de274ece *man/rsc.Rd diff --git a/R/rmad.R b/R/rmad.R index 5e9a1d7..18e7db3 100644 --- a/R/rmad.R +++ b/R/rmad.R @@ -37,7 +37,8 @@ rmad <- function(x, y = NULL, na.rm = FALSE, even.correction = FALSE, num.thread R <- Matrix(1, nrow = p, ncol = p, sparse = FALSE) R[lower.tri(R, diag = FALSE)] <- u R <- forceSymmetric(R, uplo = "L") - R <- as(R, "dspMatrix") + R <- as(R, "packedMatrix") + ## attach dimnames if needed if (!is.null(colnames_original)) { diff --git a/inst/CITATION b/inst/CITATION index 2ee61ef..aa4b09e 100644 --- a/inst/CITATION +++ b/inst/CITATION @@ -3,12 +3,12 @@ citHeader("To cite package 'RSC' in publications use:") year <- sub("-.*", "", meta$Date) note <- sprintf("R package version %s", meta$Version) -citEntry(entry="Manual", +bibentry(bibtype="Manual", title = "RSC: robust and sparse correlation matrix estimation", - author = personList(person(given="Luca", family="Coraggio"), - person(given="Pietro", family="Coretto"), - person(given="Angela", family="Serra"), - person(given="Roberto", family="Tagliaferri")), + author = c(person(given="Luca", family="Coraggio"), + person(given="Pietro", family="Coretto"), + person(given="Angela", family="Serra"), + person(given="Roberto", family="Tagliaferri")), year = year, note = note, textVersion = @@ -20,14 +20,14 @@ citEntry(entry="Manual", -citEntry(entry="Article", +bibentry(bibtype="Article", title = "Robust and sparse correlation matrix estimation for the analysis of high-dimensional genomics data", - author = personList(person(given="Angela", family="Serra"), - person(given="Pietro", family="Coretto"), - person(given="Michele", family="Fratello"), - person(given="Roberto", family="Tagliaferri") - ), + author = c(person(given="Angela", family="Serra"), + person(given="Pietro", family="Coretto"), + person(given="Michele", family="Fratello"), + person(given="Roberto", family="Tagliaferri") + ), year = 2018, journal = "Bioinformatics", volume = 34, -- cgit v1.2.3