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

How to add XY scale (coordinates) to the mean shape #223

Open
ghost opened this issue Jun 27, 2022 · 0 comments
Open

How to add XY scale (coordinates) to the mean shape #223

ghost opened this issue Jun 27, 2022 · 0 comments

Comments

@ghost
Copy link

ghost commented Jun 27, 2022

Could you please help me with how I can add the XY scale to the mean shape? I have used the following codes that provide mean shape but without inside the XY plot. Thanks for the help

`## mean shapes and PCA For side
ms_ <- MSHAPES(eOTO,fac = 'Sex' )
ms_ <- ms_$shp
datams_<-rbind(data.frame(ms_$M, Group="Male"),
data.frame(ms_$F, Group="Female"))

ggplot(datams_)+theme_bw()+geom_path( aes(x,y, color=Group, linetype=Group), size=0.5)+theme_void()+theme(legend.position = c(0.5,0.6), axis.title = element_blank(), axis.ticks = element_blank(), axis.text = element_blank())+coord_equal()+
theme(legend.key.size = unit(5, units = "mm"))
`

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

0 participants