From 56af6fb60af784076eb5efbbc230c34b11eb1a7b Mon Sep 17 00:00:00 2001 From: Christina Schmidt Date: Wed, 13 Nov 2024 15:51:34 +0100 Subject: [PATCH] added tibble:: for remove_rownames() --- R/VizVolcano.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/R/VizVolcano.R b/R/VizVolcano.R index 37c29d9..40f2ece 100644 --- a/R/VizVolcano.R +++ b/R/VizVolcano.R @@ -189,12 +189,12 @@ VizVolcano <- function(PlotSettings="Standard", if(PlotSettings=="PEA"){ VolcanoData <- merge(x=SettingsFile_Metab ,y=InputData[, c(x, y)], by.x=SettingsInfo[["PEA_Feature"]] , by.y=0, all.y=TRUE)%>% - remove_rownames()%>% + tibble::remove_rownames()%>% mutate(FeatureNames = SettingsInfo[["PEA_Feature"]])%>% filter(!is.na(x) | !is.na(x)) }else{ VolcanoData <- merge(x=SettingsFile_Metab ,y=InputData[, c(x, y)], by=0, all.y=TRUE)%>% - remove_rownames()%>% + tibble::remove_rownames()%>% column_to_rownames("Row.names")%>% mutate(FeatureNames = rownames(InputData))%>% filter(!is.na(x) | !is.na(x))