Question: R Treats "Na" (Neuroacanthocytosis) Genes As Missing Value !! How To Overcome The Problem?
0
gravatar for raunakms
7.5 years ago by
raunakms1.1k
San Francisco
raunakms1.1k wrote:

I've a table with HUGO gene symbols in it. When I load the table in R using read.table(), one of the genes in the list NA (neuroacanthocytosis) is treated as a missing value. I would like NA to be as a normal character string rather than a missing value. I've tried to convert NA to a normal text/character but I've not been successful yet. And I did not find any of such problems mentioned previously in any forums. How can we overcome this issue?

gene R • 1.6k views
ADD COMMENTlink modified 7.5 years ago by Michael Dondrup47k • written 7.5 years ago by raunakms1.1k
8
gravatar for Michael Dondrup
7.5 years ago by
Bergen, Norway
Michael Dondrup47k wrote:

When using read.table change the na.strings = "NA" parameter, and set it to smth else than "NA". Read ?read.table

ADD COMMENTlink modified 7.5 years ago • written 7.5 years ago by Michael Dondrup47k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1704 users visited in the last hour