Go Back   SEQanswers > Applications Forums > RNA Sequencing

Similar Threads
Thread Thread Starter Forum Replies Last Post
Deseq2 16S copy number Manoeli Lupatini Bioinformatics 1 04-26-2014 03:05 AM
DESeq2 column/row arrangement bioBob Bioinformatics 3 03-06-2014 05:41 AM
Error: number of labels must match number of conditions shpyang Bioinformatics 2 08-15-2013 01:45 PM
Can bowtie align mates individually if they don't match? history_of_robots Bioinformatics 1 02-06-2012 05:01 AM
454IsotigsLayout.txt - contigs don't match to any isotig? dschika Bioinformatics 9 10-11-2010 04:58 AM

Thread Tools
Old 07-16-2014, 01:16 PM   #1
Location: Toronto

Join Date: May 2012
Posts: 18
Exclamation DESeq2 - COLUMN and ROWS number don't match

I have a table of count of control (3 replicates), treatment B (3 replicates) and treatment A (3 replicates). The first column is the gene symbol, table is as below:

Gene_symbol C1 C2 C3 B1 B2 B3 A1 A2 A3

library( "DESeq2" )
mydata = read.table("matrix4.txt", header=TRUE)
samples <- data.frame(row.names=c("C1", "C2", "C3", "B1", "B2", "B3", "A1", "A2", "A3"), condition=as.factor(c(rep("C",3), rep("B", 3), rep("A", 3))))

dds <- DESeqDataSetFromMatrix(countData = as.matrix(mydata), colData=samples, design=~condition)

Error in validObject(.Object) : 
  invalid class “SummarizedExperiment” object: 'colData' nrow differs from 'assays' ncol
How can I point to DESeq2 that gene symbol isn't ?
KYR is offline   Reply With Quote
Old 07-16-2014, 01:21 PM   #2
Michael Love
Senior Member
Location: Boston

Join Date: Jul 2013
Posts: 333

you've posted 3 times now about the same example, can we keep all the discussion on a single thread for simplicity?

indeed Devon Ryan's answer 10 minutes before this post is the correct one.
Michael Love is offline   Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

All times are GMT -8. The time now is 06:49 PM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Single Sign On provided by vBSSO