Re: [R] venneuler() - customize a few things

2010-12-02 Thread Francesco Lescai
Hi,
I was wondering if it would be possible to print the counts of common 
items in the venneuler() diagrams.
Anybody knows a straightforward idea?
I can always count things from the data matrix, but I have vectors with 
50 thousands elements.

thanks
Francesco
-- 
--
*Francesco Lescai, PhD*
Research Associate in Genome Analysis
Faculty of Biomedical Sciences, Division of Research Strategy
c/o UCL Cancer Institute, Paul O'Gorman Building
University College London
Gower Street WC1E 6BT London, UK

visiting address: 72, Huntley Street
WC1E 6DE London

email: f.les...@ucl.ac.uk
phone: +44.(0)20.7679.6812
[ext: 46812]
--

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


Re: [R] venneuler() - customize a few things.

2010-10-08 Thread Karl Brand

Cheers Ista,

I thought 'labels' and 'colors' must have been accessible some how.

Thank you very much for showing how to access them,

Karl

On 10/7/2010 7:26 PM, Ista Zahn wrote:

Hi Kari,

On Thu, Oct 7, 2010 at 12:05 PM, Karl Brand  wrote:

Esteemed UseRs and DevelopeRs,

Just coming to terms with the very attractive proportional venn gernator,
venneuler(), but would like to customize a few things.

Is it possible to-


Say v is a VennDiagram:


-suppress all circle labels?


v$labels<- rep("", length(v$labels)


-suppress only certain circle labels?


v$labels<- c("A", "", "C") ## don't print label for B


-print specific text strings at specified locations within the circles? and
unions?


text(.5, .5, "my text here") will print "my text here" right in the
middle of the graph. Adjusting the coordinates will adjust the
location. You can use v$centers and v$diameters to position text
relative to the center of the circles, but I'm not sure how to
automatically find the unions. You could do it by trial and error.


-specify circle colors?


v$colors<- c(.1, .5, .9)


-specify label font, size&  color?



see ?text

Best,
Ista


All thoughts and response's greatly appreciated, cheers,

Karl

--
Karl Brand
Department of Genetics
Erasmus MC
Dr Molewaterplein 50
3015 GE Rotterdam
P +31 (0)10 704 3409 | 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.







--
Karl Brand 
Department of Genetics
Erasmus MC
Dr Molewaterplein 50
3015 GE Rotterdam
P +31 (0)10 704 3409 | 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.


Re: [R] venneuler() - customize a few things.

2010-10-07 Thread Ista Zahn
Hi Kari,

On Thu, Oct 7, 2010 at 12:05 PM, Karl Brand  wrote:
> Esteemed UseRs and DevelopeRs,
>
> Just coming to terms with the very attractive proportional venn gernator,
> venneuler(), but would like to customize a few things.
>
> Is it possible to-

Say v is a VennDiagram:

> -suppress all circle labels?

v$labels <- rep("", length(v$labels)

> -suppress only certain circle labels?

v$labels <- c("A", "", "C") ## don't print label for B

> -print specific text strings at specified locations within the circles? and
> unions?

text(.5, .5, "my text here") will print "my text here" right in the
middle of the graph. Adjusting the coordinates will adjust the
location. You can use v$centers and v$diameters to position text
relative to the center of the circles, but I'm not sure how to
automatically find the unions. You could do it by trial and error.

> -specify circle colors?

v$colors <- c(.1, .5, .9)

> -specify label font, size & color?
>

see ?text

Best,
Ista

> All thoughts and response's greatly appreciated, cheers,
>
> Karl
>
> --
> Karl Brand 
> Department of Genetics
> Erasmus MC
> Dr Molewaterplein 50
> 3015 GE Rotterdam
> P +31 (0)10 704 3409 | 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.
>



-- 
Ista Zahn
Graduate student
University of Rochester
Department of Clinical and Social Psychology
http://yourpsyche.org

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


[R] venneuler() - customize a few things.

2010-10-07 Thread Karl Brand

Esteemed UseRs and DevelopeRs,

Just coming to terms with the very attractive proportional venn 
gernator, venneuler(), but would like to customize a few things.


Is it possible to-

-suppress all circle labels?
-suppress only certain circle labels?
-print specific text strings at specified locations within the circles? 
and unions?

-specify circle colors?
-specify label font, size & color?

All thoughts and response's greatly appreciated, cheers,

Karl

--
Karl Brand 
Department of Genetics
Erasmus MC
Dr Molewaterplein 50
3015 GE Rotterdam
P +31 (0)10 704 3409 | 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.