Question: R Treats "Na" (Neuroacanthocytosis) Genes As Missing Value !! How To Overcome The Problem?
0
gravatar for raunakms
6.6 years ago by
raunakms1.1k
Vancouver, BC, Canada
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.5k views
ADD COMMENTlink modified 6.6 years ago by Michael Dondrup46k • written 6.6 years ago by raunakms1.1k
8
gravatar for Michael Dondrup
6.6 years ago by
Bergen, Norway
Michael Dondrup46k 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 6.6 years ago • written 6.6 years ago by Michael Dondrup46k
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: 1807 users visited in the last hour