MATLAB function for Shift Function plots?

5 次查看(过去 30 天)
Dear experts,
Is there any way to produce a shift function plot in MATLAB?
For example, as in the following R function:
Publish_online2.JPG
or:
Publish_online.JPG
(taken from: Alnæs, Dag, et al. "Brain heterogeneity in schizophrenia and its association with polygenic risk." JAMA psychiatry (2019).‏ )
  3 个评论
Johnson
Johnson 2019-12-20
@Adam Danz:
Thanks for your answer.
I saw the link contains the source code in R, but was still wondering whether MATLAB has some function that produces similar figures (without me having to understand an R code).
I am not sure if the lower plot presents the lag from a cross correlation. I think it's just showing the difference in densities between the two groups for every quantile of data. What do you think?
Thanks again
Johnson
Johnson 2019-12-20
Found some details on MATLAB here:
If someone can provide further details, or suggestions for available MATLAB functions - please let me know. Thanks!

请先登录,再进行评论。

采纳的回答

Johnson
Johnson 2019-12-20
I found the following MATLAB package:
Still not sure if it works, but if it does, I will close the thread and accept this as an answer. Thanks everyone!

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Data Distribution Plots 的更多信息

产品


版本

R2018a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by