Error in DESeqDataSetFromHTSeqCount
1
0
Entering edit mode
@abhaykanodia-23398
Last seen 23 months ago
United States

I am using HTseq pipeline for DESeq2:

Directory = "/Users/abhaykanodia/Desktop/smallRNA/"

condition = c("WT1", "WT2", "WT3", "NTC1", "NTC2", "NTC3")

sampleFiles= c("AK1a_counts.txt","AK2a_counts.txt","AK3a_counts.txt"," AK4a_counts.txt","AK5a_counts.txt","AK6a_counts.txt")

sampleName = c("AK1", "AK2", "AK3", "AK4", "AK5", "AK6")

sampleTable <- data.frame(sampleName = sampleName, fileName = sampleFiles, condition = condition) sampleTable

The output is:

sampleName fileName condition 1 AK1 AK1a_counts.txt WT1 2 AK2 AK2a_counts.txt WT2 3 AK3 AK3a_counts.txt WT3 4 AK4 AK4a_counts.txt NTC1 5 AK5 AK5a_counts.txt NTC2 6 AK6 AK6a_counts.txt NTC3``` Now, when I use:

ddsHTSeq <- DESeqDataSetFromHTSeqCount(sampleTable = sampleTable, directory = Directory, design= ~ condition) It gives the following error:

Error in colnames<-(*tmp*, value = sampleTable[, 1]) : attempt to set 'colnames' on an object with less than two dimensions

DESeq2 RNA-seq HTseq DESeqDataSetFromHTSeqCount • 1000 views
ADD COMMENT
0
Entering edit mode
swbarnes2 ★ 1.4k
@swbarnes2-14086
Last seen 2 days ago
San Diego

Cross posted:

https://www.biostars.org/p/9545616/

ADD COMMENT

Login before adding your answer.

Traffic: 497 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6