Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help - How can I get my sinaplot looks like geom_violin()??? #110

Open
mgarci68 opened this issue Jun 27, 2021 · 0 comments
Open

Help - How can I get my sinaplot looks like geom_violin()??? #110

mgarci68 opened this issue Jun 27, 2021 · 0 comments

Comments

@mgarci68
Copy link

Hi, Thanks for providing this amazing package,

I'm trying to reproduce a prior plot that I Made with the previous version, but I'm unable to reproduce the violin graph (attached) in the plot function , unfortunately I could not find the last source code for the graph with the violins, you will see in the PICs what I did (second Pic) and what I currently have (first Pic).

I could change most of the graphic but couldn't add the violin.

Bellow you will find the code I'm using, I know the "Sinaplot.params = ggplot2::geom_violin()" is not working, also tried with GeomFlatViolin and geom_flat_violin but none of those are working.

`TM_AD_DBR <- Final_TM_regression_GP_ASIA_6_20_21

TM_VAC <-
TM_AD_DBR %>%
dabest(VASCAT,mRs,
idx = c("VAS NAC","VAS NAC - FV","VAS NAC - FU")
,paired = FALSE)

TM_VAC_meandiff <- mean_diff(TM_VAC)

TM_plot <-
TM_VAC_meandiff %>%
plot(palette= "Dark2",rawplot.ylim = c(0,6),effsize.ylim = c(-4,2),
effsize.ylabel = "Mean difference",tick.fontsize = 10 ,effsize.markersize = 5, axes.title.fontsize =10, sinaplot.params = ggplot2::geom_violin())`

TM_plot

Thanks in advance for your help.

image

vas_on_fv_fu_fn_VIO (1)

@mgarci68 mgarci68 reopened this Jun 27, 2021
@mgarci68 mgarci68 changed the title How can I get my sinaplot looks like geom_violin() Help - How can I get my sinaplot looks like geom_violin()??? Jul 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant