Skip to content

Commit

Permalink
added tibble:: for remove_rownames()
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristinaSchmidt1 committed Nov 13, 2024
1 parent 49037a5 commit 56af6fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/VizVolcano.R
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 56af6fb

Please sign in to comment.