jim holtman schrieb:
> Exactly what do you mean by additional text?  Have you tried "paste"?
>
> On 2/21/08, Paul Hammer <paul.hammer@tfh-wildau.de> wrote:
>   
>> dear members,
>>
>> i would like to write a variable in a plot title (main="") but i don't
>> know the right syntax:(...i tried a lot of different ways without success.
>>
>> here my example:
>>
>> y=30
>> z=33
>> for (i in 10:length(tissue)) {
>> png(filename = tissues[i], width = 1024, height = 768, pointsize = 12,
>> bg = "white")
>> gene.graph("ENSG00000115252", rma.affy, gps=list(1:3, y:z),
>> type="mean-int", gp.col=c("red", "blue"), by.order=TRUE,
>> scale.to.gene=FALSE, use.symbol=TRUE, use.mt=FALSE, *main="PDE1A
>> (red=prostate, blue=tissues[i])"*, ylab="intensity / probeset",
>> exon.y=1, exon.height=1, exon.bg.col="#c3c3c3",
>> exon.bg.border.col="black", show.introns=TRUE)
>> y=y-3
>> z=z-3
>> dev.off() }
>>
>> when i write main=tissues[i] the value is written right. but i would
>> like to have an additional text...
>>
>> thanks
>> paul
>>
>>        [[alternative HTML version deleted]]
>>
>> ______________________________________________
>> R-help@r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
>>
>>     
>
>
>   
thank you jim,

that was what i meant :)



-- 
Paul Hammer, M.Sc.
Philips Ph.D. student
Bioinformatics / Molecular Biology
TFH Wildau
Bahnhofstrasse 1
15745 Wildau
paul.hammer@tfh-wildau.de

house 13, room 120
Tel.: +49 03375 508 945
Fax : +49 03375 508 946

	[[alternative HTML version deleted]]

