![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
DESeq - Error: subscript out of bounds | crh | Bioinformatics | 6 | 07-28-2015 04:56 AM |
DESeq error | clemen | Bioinformatics | 22 | 03-27-2014 05:59 AM |
FASTX quality plot error | vinay052003 | Bioinformatics | 2 | 11-18-2011 08:26 AM |
error in DESeq analysis | stephenhart | General | 5 | 11-08-2011 03:55 AM |
DESeq Output Plot and Options | silverlining | Bioinformatics | 3 | 09-20-2011 12:48 AM |
![]() |
|
Thread Tools |
![]() |
#1 |
Junior Member
Location: BC Join Date: Nov 2011
Posts: 6
|
![]()
Hi,
I'm trying to plot the scatterplot of direct vs. moderated log-ratios and I keep getting an error: Error in plot.window(...) : need finite 'ylim' values In addition: Warning messages: 1: In min(x) : no non-missing arguments to min; returning Inf 2: In max(x) : no non-missing arguments to max; returning -Inf This is what I have put in: > cdsBlind <- estimateDispersions( cds, method="blind" ) > vsd <- getVarianceStabilizedData( cdsBlind ) > mod_lfc <- (rowMeans( vsd[, conditions(cds)=="treated", drop=FALSE] ) - + rowMeans( vsd[, conditions(cds)=="untreated", drop=FALSE] )) > lfc <- res$log2FoldChange > finite <- is.finite(lfc) > table(as.character(lfc[!finite]), useNA="always") -Inf Inf NaN <NA> 83 212 285 0 > largeNumber <- 10 > lfc <- ifelse(finite, lfc, sign(lfc) * largeNumber) > plot( lfc, mod_lfc, pch=20, cex=.3, + col = ifelse( finite, "#80808040", "red" ) ) Is it because I am running analysis on samples with no replicates? (I know - not good, but it's all that I have...). Any ideas? Thanks. |
![]() |
![]() |
![]() |
#2 | |
Senior Member
Location: Heidelberg, Germany Join Date: Aug 2009
Posts: 109
|
![]()
Dear Coral Girl
it looks like your mod_lfc consists of all non-finite values. What are the conditions names in your object cds? Note that in the line Quote:
Hope this helps. Wolfgang
__________________
Wolfgang Huber EMBL |
|
![]() |
![]() |
![]() |
#3 |
Junior Member
Location: BC Join Date: Nov 2011
Posts: 6
|
![]()
Hi Wolfgang,
Thank you very much - that was exactly the problem. A rookie mistake on my behalf! |
![]() |
![]() |
![]() |
Thread Tools | |
|
|