Error while exporting GEOdataset ( Error in if (num_colors < 256) { : missing value where TRUE/FALSE needed)
1
0
Entering edit mode
3.2 years ago

Dear colleagues, I am trying to export GEO data series using get GEO, however, when I use this command, I get the following error

gset <- getGEO("GSE4600", GSEMatrix =TRUE, getGPL=FALSE)

**Found 1 file(s)
GSE4600_series_matrix.txt.gz
Using locally cached version: C:\Users\AppData\Local\Temp\RtmpuI3VFM/GSE4600_series_matrix.txt.gz
Error in if (num_colors < 256) { : missing value where TRUE/FALSE needed**

How to solve this? I do not understand what is the error

microarray • 1.3k views
ADD COMMENT
0
Entering edit mode
3.2 years ago
Mensur Dlakic ★ 27k

This statement if (num_colors < 256) can be TRUE or FALSE only if num_colors is a number, because that number will make a statement go one way or the other. If num_colors is a non-number, say a string, the statement outcome will be undefined and therefore can't be evaluated.

In short, you need to find out what value is assigned to num_colors and make sure it is a number.

ADD COMMENT
0
Entering edit mode

Thank you very much, After trying to figure it out, It turned out that Rstudio version was old and when I update it the error message was gone

ADD REPLY

Login before adding your answer.

Traffic: 2412 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