SEQanswers

Go Back   SEQanswers > Bioinformatics > Bioinformatics



Similar Threads
Thread Thread Starter Forum Replies Last Post
baySeq ksherwood Bioinformatics 2 01-02-2014 12:28 PM
Multiple DGE libraries comparison. (EdgeR baySeq DESeq) Roman Bruno Bioinformatics 52 11-29-2011 06:39 AM
BaySeq vs GLM in EdgeR and DESeq Hilary April Smith Bioinformatics 0 08-03-2011 10:14 AM
baySeq libsizes rgregor Bioinformatics 1 06-07-2011 03:52 AM
edgeR vs DESeq vs bayseq Azazel Bioinformatics 1 10-07-2010 07:11 AM

Reply
 
Thread Tools
Old 08-16-2010, 07:36 PM   #1
DunningL
Junior Member
 
Location: Auckland, NZ

Join Date: May 2010
Posts: 4
Default baySeq

I was wondering if anyone else gets the error:

Error in validObject(.Object) :
invalid class "countData" object: invalid object for slot "data" in class "countData": got class "data.frame", should be or extend class "matrix"

when trying to import data into baySeq. I am using a simlar spreadsheet which worked for DESeq, DEGseq and edgeR but it doesnt work for baySeq. I have tried playing around with removing the labels etc but to no avail.

any help would be greatly appreciated
DunningL is offline   Reply With Quote
Old 08-17-2010, 01:36 PM   #2
DunningL
Junior Member
 
Location: Auckland, NZ

Join Date: May 2010
Posts: 4
Default

The problem appears to be that the 'raw.data' object is of class 'data.frame' rather than class 'matrix'. If you try the following:

> raw.data <- as.matrix(raw.data)

before the command

> CD <- new("countData", data = raw.data, replicates = replicates,
+ libsizes = libsizes, groups = groups)

then this should succeed.
DunningL is offline   Reply With Quote
Old 08-17-2010, 08:10 PM   #3
DunningL
Junior Member
 
Location: Auckland, NZ

Join Date: May 2010
Posts: 4
Default

Also, if anyone else is using the programme what number of iterations and bootstraps are you using for your data set?
DunningL is offline   Reply With Quote
Old 09-30-2011, 07:10 AM   #4
sunkorner
Member
 
Location: Florida

Join Date: Jan 2011
Posts: 15
Default

Can anyone please let me know why I am encountering this problem in baySeq. Thank you.
Quote:
> CDP.NBML <- getPriors.NB(CD, samplesize = 1000, estimation = "QL", cl = cl) > [email protected]
Finding priors...Error in quantile.default(nzSD, 1:sqnum/sqnum) :
missing values and NaN's not allowed if 'na.rm' is FALSE
sunkorner is offline   Reply With Quote
Old 02-17-2012, 03:30 PM   #5
unidodo
Junior Member
 
Location: USA

Join Date: Jul 2010
Posts: 8
Default

I installed the latest version 1.8.3 and followed the manual, got the following error:

replicates <- c("simA", "simA", "simA", "simA", "simA", "simB", "simB", "simB", "simB","simB")

Error in validObject(.Object) :
invalid class "countData" object: invalid object for slot "replicates" in class "countData": got class "character", should be or extend class "numeric"

But they are characters in the manual as well.

Anyone experienced it? Tia.
unidodo is offline   Reply With Quote
Reply

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 09:46 AM.


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