Missing normalized x, normalized y, baf and logrrratio values
1
0
Entering edit mode
@dhariapriyadarshani-14987
Last seen 6.3 years ago

Hi, 

  I am trying to load intensity files and bl files using GWASTools. I got the following error: 

Error in scan(file = file, what = what, sep = sep, quote = quote, dec = dec,  : 
  scan() expected 'a real', got '"0.9958377"'

 

I checked my data and realized that my variables are a string. 

1. I am not sure if being a string variable is the issue for this error. 

2. What do I denote missing values in normalized x, normalized y, baf and logrrratio values, so intensity and baf files can be uploaded. 

 

Thank you for your help.

Best, 

Priya

gwastools • 939 views
ADD COMMENT
1
Entering edit mode
@stephanie-m-gogarten-5121
Last seen 4 months ago
University of Washington

1. I am not sure if being a string variable is the issue for this error.

Yes, it is. You will need to remove the quotation marks around the intensity/BAF values.

2. What do I denote missing values in normalized x, normalized y, baf and logrrratio values, so intensity and baf files can be uploaded.

The createDataFile code calls read.table, so it follows the rules for missing values in that function. Either "NA" or a blank field indicates a missing value for non-string data.

ADD COMMENT

Login before adding your answer.

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