Hello,
I don't know why I am getting some errors during my analysis
I uploaded an example of my data in
I use the following command in R to load my data
data <- read.delim("path to your file /example.txt", header=FALSE)
however, in summary or head or other commands I look at the data, it seems alright but I cannot analysis since it gives error like all numeric variables
. For example if you want to get the range of the example data, you will get such error.
How normally do you import, load a microarray data (with txt format) (each row represents a prob and each column a sample)?
Thanks
Please provide the file in an external link, it takes quite long to load and to scroll all the way down your table.
After reading several comments from you below, it seems that reading the help for range() might be useful to you. In particular, it tells you that range works on any numeric or character objects. Data frames are not numeric though they can contain numbers. Also,
range()
, like almost all aggregation functions in R, will returnNA
when there is anyNA
in the data unless told to do otherwise.