Thank you for your assistance and prompt reply sir.
I re-ran the code with following modifications and it works perfectly well. Please tell if my revised code is correct ?
Load necessary packages
library(DESeq2)
library(Rsamtools)
<h5>Load Phenotype and count data</h5>
rawCountTable <- as.matrix(read.delim(file.choose(), row.names=1))
Col_data = read.table(file = "LUSC_Phenotype.txt", header = T, sep = "\t")
<h5>Run DeSeq2</h5>
dds = DESeqDataSetFromMatrix(countData = rawCountTable, colData = Col_data, design = ~ Type)
dds = DESeq(dds)
keep <- rowSums(counts(dds)) >= 10
dds <- dds[keep,]
dds = estimateSizeFactors(dds)
sizeFactors(dds)
vsd <- assay(varianceStabilizingTransformation(dds, blind=FALSE))
My original files are available at this link:
Phenotype file: https://od.lk/d/ODdfMjgyMjA5MTFf/LUSC_Phenotype.txt
Counts file: https://od.lk/d/ODdfMjgyMjA5MTBf/LUSC_COUNTS.txt
At which step does that come up?
I get this error at the step
Rest all works fine till