Dear UseRs and DevelopeRs

It would be helpful to see the color palette available in the venneuler() function.

The relevant par of ?venneuler states:

"colors: colors of the circles as values between 0 and 1"

-which explains color specification, but from what pallette? Short of trial and error, i'd really appreciate if some one could help me locate a "0 - 1" pallette for this function to aid with color selection.

FWIW, i tried the below code and received the displayed error. I failed to turn up any solutions to this error...

Any suggestions appreciated,

Karl


library(venneuler)

ve <- venneuler(c("A"=1, "B"=2, "C"=3, "A&C"=0.5, "A&B&C"=0.1))

class(ve)
[1] "VennDiagram"

ve$colors <- c("red", "green", "blue")

plot(ve)

Error in col * 360 : non-numeric argument to binary operator

--
Karl Brand
Department of Genetics
Erasmus MC
Dr Molewaterplein 50
3015 GE Rotterdam
T +31 (0)10 704 3457 |F +31 (0)10 704 4743 |M +31 (0)642 777 268

______________________________________________
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.

Reply via email to