From 08df12c70c94983ecb0944a23d4df41f971eca50 Mon Sep 17 00:00:00 2001 From: Cesaire Joris Kuete Fouodo Date: Wed, 17 Jul 2024 15:53:41 +0200 Subject: [PATCH] Add training data and upset plot --- README.Rmd | 2 +- README.md | 13 +++++++++++-- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/README.Rmd b/README.Rmd index 14f2533..5baa665 100644 --- a/README.Rmd +++ b/README.Rmd @@ -92,6 +92,6 @@ print(train_study) - An upset plot of the training study: Visualize patient overlap across layers. -```{r training_data, include=TRUE, eval=TRUE} +```{r upsetplot, include=TRUE, eval=TRUE} train_study$upset(order.by = "freq") ``` diff --git a/README.md b/README.md index d479194..05bde29 100644 --- a/README.md +++ b/README.md @@ -108,8 +108,8 @@ tl_me <- TrainLayer$new(id = "methylation", train_study = train_study) tl_meta <- TrainMetaLayer$new(id = "meta_layer", train_study = train_study) ``` -- Add training data (entities) to layers, excluded the meta layer. The - meta layer is modifiable internally after the training phase. +- Add training data (entities) to layers: Exclude the meta layer, as it + is modifiable internally after the training phase. ``` r train_data_ge <- TrainData$new(id = "geneexpr", @@ -154,3 +154,12 @@ print(train_study) ## Status : Not trained ## Number of layers: 4 ## Layers trained : 0 + +- An upset plot of the training study: Visualize patient overlap across + layers. + +``` r +train_study$upset(order.by = "freq") +``` + +![](README_files/figure-gfm/upsetplot-1.png)