How to generate this type of scatter plots in R

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

How to generate this type of scatter plots in R

R help mailing list-2

Hello everyone,

I saw this scatterplots from a paper and thought it looked very nice:

https://drive.google.com/file/d/1V7F1gq-J_GIFDOrJs00hwGyXUqCZ_xwa/view?usp=sharing

It was similar to stripchart() with 'jitter' method, but it has a special pattern of aligning points which made it look nicer than standard stripchart().

Does anyone know if there is a package in R that can do this kind of plots?

Thanks,

John

______________________________________________
[hidden email] mailing list -- To UNSUBSCRIBE and more, see
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 | Threaded
Open this post in threaded view
|

Re: How to generate this type of scatter plots in R

Jim Lemon-4
Hi John,
Perhaps "dendroPlot" in the plotrix package?

JIm

On Thu, Jul 23, 2020 at 11:00 AM array chip via R-help
<[hidden email]> wrote:

>
>
> Hello everyone,
>
> I saw this scatterplots from a paper and thought it looked very nice:
>
> https://drive.google.com/file/d/1V7F1gq-J_GIFDOrJs00hwGyXUqCZ_xwa/view?usp=sharing
>
> It was similar to stripchart() with 'jitter' method, but it has a special pattern of aligning points which made it look nicer than standard stripchart().
>
> Does anyone know if there is a package in R that can do this kind of plots?
>
> Thanks,
>
> John
>
> ______________________________________________
> [hidden email] mailing list -- To UNSUBSCRIBE and more, see
> 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.

______________________________________________
[hidden email] mailing list -- To UNSUBSCRIBE and more, see
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 | Threaded
Open this post in threaded view
|

Re: How to generate this type of scatter plots in R

Paul Bivand
This looks like a beeswarm plot - using package beeswarm or (for
ggplot users) ggbeeswarm.

Paul

On Thu, 23 Jul 2020 at 05:31, Jim Lemon <[hidden email]> wrote:

>
> Hi John,
> Perhaps "dendroPlot" in the plotrix package?
>
> JIm
>
> On Thu, Jul 23, 2020 at 11:00 AM array chip via R-help
> <[hidden email]> wrote:
> >
> >
> > Hello everyone,
> >
> > I saw this scatterplots from a paper and thought it looked very nice:
> >
> > https://drive.google.com/file/d/1V7F1gq-J_GIFDOrJs00hwGyXUqCZ_xwa/view?usp=sharing
> >
> > It was similar to stripchart() with 'jitter' method, but it has a special pattern of aligning points which made it look nicer than standard stripchart().
> >
> > Does anyone know if there is a package in R that can do this kind of plots?
> >
> > Thanks,
> >
> > John
> >
> > ______________________________________________
> > [hidden email] mailing list -- To UNSUBSCRIBE and more, see
> > 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.
>
> ______________________________________________
> [hidden email] mailing list -- To UNSUBSCRIBE and more, see
> 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.

______________________________________________
[hidden email] mailing list -- To UNSUBSCRIBE and more, see
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.