log plot density how to graph (error)
2
0
Entering edit mode
anu.kour • 0
@anukour-9381
Last seen 8.6 years ago

> plotDensity(log2(raw.data[,3:8]+0.1)
+ >legend(15,0.1,legend=targets$FileName,lty=1:6,col=1:6)
+ legend(15,0.1,legend=targets$FileName,lty=1:6,col=1:6)
Error: unexpected symbol in:
">legend(15,0.1,legend=targets$FileName,lty=1:6,col=1:6)
legend"
> legend(15,0.1,legend=targets$FileName,lty=1:6,col=1:6)
Error in strwidth(legend, units = "user", cex = cex, font = text.font) : 
  plot.new has not been called yet

Tried plot.new too, not working 

Help?

Thanks

limma • 2.4k views
ADD COMMENT
0
Entering edit mode
@james-w-macdonald-5106
Last seen 1 day ago
United States

This part:

> plotDensity(log2(raw.data[,3:8]+0.1)
+ >legend(15,0.1,legend=targets$FileName,lty=1:6,col=1:6)
+ legend(15,0.1,legend=targets$FileName,lty=1:6,col=1:6)
Error: unexpected symbol in:

Doesn't work because you are missing a closing parenthesis in the first line.

ADD COMMENT
0
Entering edit mode
anu.kour • 0
@anukour-9381
Last seen 8.6 years ago

plotDensity(log2(raw.data[,3:8]+0.1))
Error: could not find function "plotDensity"

Thanks did it still error

ADD COMMENT
0
Entering edit mode

You should first load the R package affy

library(affy)

ADD REPLY
0
Entering edit mode

worked thanks a lot...

ADD REPLY
0
Entering edit mode

plotDensity(log2(mydata[,4:9]+0.1))

Error: could not find function "plotDensity"

i am still having this function. can any one help? done with loading package libarary(affy)

ADD REPLY

Login before adding your answer.

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