Skip to content

Commit

Permalink
Reshape df after removing whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
adamd3 committed Oct 23, 2023
1 parent 74d2b85 commit 62e3b22
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bin/diffexpr.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ library(plyr)
library(tibble)

if (!require("EnhancedVolcano")) {
if (!require("devtools", quietly = TRUE)) {
install.packages("devtools")
if (!require("BiocManager", quietly = TRUE)) {
install.packages("BiocManager")
}
devtools::install_github("kevinblighe/EnhancedVolcano")
BiocManager::install("EnhancedVolcano")
library(EnhancedVolcano)
}

Expand Down Expand Up @@ -64,7 +64,7 @@ contrast_tab <- read.table(
header = TRUE, sep = "\t", stringsAsFactors = FALSE
)
contrast_tab <- data.frame(
apply(contrast_tab, 2, function(x) gsub("\\s+", "", x))
rbind(apply(contrast_tab, 2, function(x) gsub("\\s+", "", x)))
)


Expand Down

0 comments on commit 62e3b22

Please sign in to comment.