From 086d9534caf4c405749832ad23b7de3180e090c7 Mon Sep 17 00:00:00 2001 From: schifferl Date: Sat, 7 Oct 2023 16:23:27 -0400 Subject: [PATCH] set assay rownames --- DESCRIPTION | 2 +- R/curatedMetagenomicData.R | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/DESCRIPTION b/DESCRIPTION index aec4b41..553bb96 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -31,7 +31,7 @@ biocViews: Homo_sapiens_Data, MicrobiomeData, ReproducibleResearch -Version: 3.9.0 +Version: 3.9.1 License: Artistic-2.0 Depends: R (>= 4.1.0), diff --git a/R/curatedMetagenomicData.R b/R/curatedMetagenomicData.R index 4a9ebe4..0b08582 100644 --- a/R/curatedMetagenomicData.R +++ b/R/curatedMetagenomicData.R @@ -236,6 +236,9 @@ curatedMetagenomicData <- function(pattern, dryrun = TRUE, counts = FALSE, rowna rownames(tree_summarized_experiment) <- rowData(tree_summarized_experiment)[["species"]] + + rownames(assay(tree_summarized_experiment)) <- + rowData(tree_summarized_experiment)[["species"]] } resource_list[[i]] <-