ReadAffy and hist() labels
4
0
Entering edit mode
@hrishikesh-deshmukh-1008
Last seen 10.2 years ago
Hi All, How can i add x,y axes labels, i am using ReadAffy() function. I could not find anything on the searchable mailing list archive. Thanks, Hrishi
• 1.4k views
ADD COMMENT
0
Entering edit mode
@adaikalavan-ramasamy-675
Last seen 10.2 years ago
Generally speaking, you can use the xlab and ylab argument in most plotting functions including hist(). See help("par") for more info. Example : plot( 1:10, xlab="A nice label for x-axis", ylab="ditto for y-axis" ) hist( rnorm(100), xlab="Intensity values" ) If this does not answer your question, can you provide a simple example to clarify your problem please. Regards, Adai On Mon, 2005-03-07 at 15:29 -0800, Hrishikesh Deshmukh wrote: > Hi All, > > How can i add x,y axes labels, i am using ReadAffy() > function. I could not find anything on the searchable > mailing list archive. > > Thanks, > Hrishi > > _______________________________________________ > Bioconductor mailing list > Bioconductor@stat.math.ethz.ch > https://stat.ethz.ch/mailman/listinfo/bioconductor >
ADD COMMENT
0
Entering edit mode
@adaikalavan-ramasamy-675
Last seen 10.2 years ago
[Please press REPLY ALL next time as this is a discussion list and others may have some other useful information to tell you] Do you mean ReadAffy ( R is case sensitive ) ? raw <- ReadAffy() # reads all the CEL files in the working directory hist(raw, xlab="lala", ylab="tralalalalala") Should do the trick. Regards, Adai On Mon, 2005-03-07 at 19:05 -0800, Hrishikesh Deshmukh wrote: > Hi, > > I want to read in 17 affy cel files and then > Data<-readaffy() > hist(Data, what should be the arguments...here so that > i can plot the file names) > > Also boxplot(Data....arguments here so that file names > can be displayed..) > > Hiow does one read in cel files using afybatch > commands?! > > Thanks, > Hrishi > > > --- Adaikalavan Ramasamy <ramasamy@cancer.org.uk> > wrote: > > Generally speaking, you can use the xlab and ylab > > argument in most > > plotting functions including hist(). See help("par") > > for more info. > > Example : > > > > plot( 1:10, xlab="A nice label for x-axis", > > ylab="ditto for y-axis" ) > > hist( rnorm(100), xlab="Intensity values" ) > > > > If this does not answer your question, can you > > provide a simple example > > to clarify your problem please. > > > > Regards, Adai > > > > > > > > On Mon, 2005-03-07 at 15:29 -0800, Hrishikesh > > Deshmukh wrote: > > > Hi All, > > > > > > How can i add x,y axes labels, i am using > > ReadAffy() > > > function. I could not find anything on the > > searchable > > > mailing list archive. > > > > > > Thanks, > > > Hrishi > > > > > > _______________________________________________ > > > Bioconductor mailing list > > > Bioconductor@stat.math.ethz.ch > > > https://stat.ethz.ch/mailman/listinfo/bioconductor > > > > > > > > > > > > __________________________________ > Celebrate Yahoo!'s 10th Birthday! > Yahoo! Netrospective: 100 Moments of the Web > http://birthday.yahoo.com/netrospective/ >
ADD COMMENT
0
Entering edit mode
@hrishikesh-deshmukh-1008
Last seen 10.2 years ago
Hi All, I want the CEL file names to be displayed, i have truncated file names which were long but still i can't see all the file names on the boxplot(). Here is the script which i have written,i tried attaching postscript files but since they were big, i am not attaching them here. library(affy) library(hgu95av2cdf) library(hgu95av2probe) library(matchprobes) data(hgu95av2probe) summary(hgu95av2probe) getwd() setwd("C:/Program Files/R/rw2001/Normal") Data <- ReadAffy() length(Data) hist(Data) boxplot(Data) > boxplot(Data,xlab=sampleNames) Error in title(main = "", xlab = function (object) : cannot coerce type closure to character vector > hist(Data,xlab=sampleNames) Error in title(main = main, sub = sub, xlab = xlab, ylab = ylab, ...) : cannot coerce type closure to character vector Thanks in advance. Hrishi
ADD COMMENT
0
Entering edit mode
Seth Falcon ★ 7.4k
@seth-falcon-992
Last seen 10.2 years ago
Hi Hrishi, Hrishikesh Deshmukh <d_hrishikesh@yahoo.com> writes: >> boxplot(Data,xlab=sampleNames) > Error in title(main = "", xlab = function (object) : > cannot coerce type closure to character vector Just based on the error message, it looks like sampleNames is a function, not a character vector (which is what xlab wants). Try reading help on sampleNames. + seth
ADD COMMENT

Login before adding your answer.

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