Movatterモバイル変換


[0]ホーム

URL:


Visualization of HCE using maracaplots

Samvel B. Gasparyan

https://gasparyan.co/

15 October,2024

Visualization

Setup

Load the packagehce and check the version:

library(hce)packageVersion("hce")#> [1] '0.8.8'

For citing the package, runcitation("hce")(Gasparyan 2025).

The Maraca Plot

Themaraca plot (named for its visual similarity to themusical instrument) has been recently introduced(Karpefors, Lindholm, and Gasparyan 2023) forthe visualization of HCEs, which combine multiple dichotomous outcomeswith a single continuous endpoint. The maraca plot visualizes thecontribution of components of a hierarchical composite endpoint (HCE)over time. It is formed by adjoining, from left to right, uniformlyscaled Kaplan–Meier plots of times to each dichotomous outcome amongthose without more severe outcomes, with a superimposed box/violin plotof the continuous outcome.

The maraca plot is implemented in themaraca package(Martin Karpefors, Samvel B. Gasparyan, andMonika Huhn 2024), which depends on thehce package.Themaraca package includes aplot.hce()method to visualize objects of typehce. Consider thefollowing example:

library(maraca)Rates_A<-10Rates_P<-15dat<-simHCE(n =1000,n0 =500,TTE_A = Rates_A,TTE_P = Rates_P,CM_A =0.2,CM_P =0,seed =2,shape =0.35)plot(dat)

The example illustrates a maraca plot with a single dishotomousoutcome combined with a continuous outcome. The dischotmous outcomesover time are simulated from a Weibull distribution withshape = 0.35 in both treatment groups. Therate parameter in the active group is 10 per 100 patientsper year, and 15 in the control group (100 patients per year is thedefault value).

References

Gasparyan, Samvel B. 2025.hce: Designand Analysis of Hierarchical Composite Endpoints.CRAN: TheComprehensive R Archive Network, R Package, Version 0.8.8.https://doi.org/10.32614/CRAN.package.hce.
Karpefors, Martin, Daniel Lindholm, and Samvel B Gasparyan. 2023.“The Maraca Plot: A Novel Visualization of Hierarchical CompositeEndpoints.”Clinical Trials 20 (1): 84–88.https://doi.org/10.1177/17407745221134949.
Martin Karpefors, Samvel B. Gasparyan, and Monika Huhn. 2024.Maraca: The Maraca Plot: Visualization of Hierarchical CompositeEndpoints in Clinical Trials.https://CRAN.R-project.org/package=maraca.

[8]ページ先頭

©2009-2025 Movatter.jp