Boxplot for Raw Data
1
0
Entering edit mode
@shawinkarim-8758
Last seen 7.7 years ago
United Kingdom

Iam trying to plot a raw Microarray Data and it is affy using box plot , 

I read the data then plot it using the code bellow:

    CuCelfiles<-list.celfiles(full.names=TRUE)
    CuCelfiles
    data<-read.celfiles(CuCelfiles, pkgname="pd.hugene.1.0.st.v1")
    # The box plot dispaly unorganize name of cel file 
    boxplot(data)
    CuNorm<-rma(CuCelfiles)

I would like change the name of cell fise instead of GSE12345 to H1 , i could not do that , i tried to write data to csv but it does not work ? Any help please

r • 1.5k views
ADD COMMENT
0
Entering edit mode
rreck ▴ 20
@rreck-12488
Last seen 6.3 years ago
Fairfax County, VA

It looks like you might try something like:

boxplot(data, lnames = c(“H1”))

borrowed from https://www.r-bloggers.com/box-plot-with-r-tutorial/

write.csv(data, file = "MyData.csv")

borrowed from http://rprogramming.net/write-csv-in-r/

ADD COMMENT
0
Entering edit mode

@ Rreck  I tried 

write.csv(data, file = "MyData.csv")  but Iam receiving the following error:

Error in as.data.frame.default(x[[i]], optional = TRUE) : 
  cannot coerce class "structure("ExpressionFeatureSet", package = "oligoClasses")" to a data.frame

ADD REPLY
0
Entering edit mode

I am not sure if you need a csv. sometimes i use this approach to save, move and load data when I have trouble like you are showing. http://www.fromthebottomoftheheap.net/2012/04/01/saving-and-loading-r-objects/

 

ADD REPLY

Login before adding your answer.

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