/
DESeq2 - alternative script
DESeq2 - alternative script
#set the working directory
setwd("/path/to/the/folder/with/counts/at_counts")
#install the following packages if not yet installed
library("ggrepel")
library("DESeq2")
library("ggplot2")
library("EnhancedVolcano")
library("reshape2")
library("plyr")
require(reshape2)
IMPORT AND PREPROCESS GENE COUNTS DATA
geneCountData <- read.csv('salmon.merged.gene_counts_length_scaled.tsv', header = TRUE, sep = "\t")
print(head(geneCountData))
get rid of the gene_name column
geneCountData = geneCountData[, colnames(geneCountData)[colnames(geneCountData) != 'gene_name']]
print(head(geneCountData))