how I deal with my data when returns is.na=T
0
0
Entering edit mode
7.7 years ago
zizigolu ★ 4.3k

Hi,

I have a table in which is.na give TRUE, I tried several option like complete.case, omit.na, !is.na but returns an empty file. how I can solve this please

this is my file

https://z60i.imgup.net/Untitled7e13.jpg

R • 1.3k views
ADD COMMENT
4
Entering edit mode

What is the aim of your analysis and that is essential to answer your question. You need to find out these items first:

  • Are the NA's supposed to be there or are they results of parsing errors? Then fix these first
  • If missing values are really due to lack of data, there are several ways of dealing with these, from replacement or omission to imputation. What is an appropriate measure depends totally on the analysis and nature of the data.

In addition:

  • You have posted a series of questions where the problem is rather weakly described, and then end in "how to solve that please?". I - personally - find that rather uncomfortable.
  • I'd rather have access to original text data and error messages than screen shots. Screen shots of text output is generally not very useful. That as a side note.
ADD REPLY
0
Entering edit mode

thank you, I have 6 data sets from six parts of brain, I intersected six data sets from a common list of gene symbols by intersection, now in 3 data sets is.na returns TRUE and in 3 data sets is.na return FALSE in DCGL R package expressionBasedfilter function extracts most variable transcripts which for data sets with is.na=T returns an empty data.

ADD REPLY
0
Entering edit mode

+1. This comment should be pinned!

ADD REPLY
0
Entering edit mode

If you are referring to text vs. screen-shot, I made a post.

ADD REPLY
0
Entering edit mode

I shared a shot for illustrating my data.

ADD REPLY
2
Entering edit mode

I explained why that is insufficient. While your screen shot shows that it is 12:49 in your time zone, your language setting is English and that you are using windows on a laptop ;), it does not convey any relevant information to address your problem.

ADD REPLY
0
Entering edit mode

Did you try reading your file as read.csv instead of read.table?

ADD REPLY
0
Entering edit mode

thank you returned FALSE but I need to run expressionBasedfilter(data) that needs row.names

https://r56i.imgup.net/17cac.jpg

ADD REPLY

Login before adding your answer.

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