diff --git a/README.Rmd b/README.Rmd index 05624ffe..a80a5fb2 100644 --- a/README.Rmd +++ b/README.Rmd @@ -81,7 +81,7 @@ remotes::install_github("Yunuuuu/ggalign") ggalign marsilea ComplexHeatmap - ggtree + ggtree+aplot @@ -113,28 +113,28 @@ remotes::install_github("Yunuuuu/ggalign") tree Data - Stack Layout + StackLayout + ✅ ✅ ✅ ✅ - ❌ - Quad Layout + QuadLayout ✅ ✅ Heatmap Only (discrete variables) - ❌ + Cannot arrange multiple QuadLayouts - Circle Layout - ✅ + CircleLayout + Arc with angle >= 90 ❌ ❌ ✅ - Cross Layout + CrossLayout ✅ ❌ ❌ @@ -181,27 +181,27 @@ remotes::install_github("Yunuuuu/ggalign") ✅ ❌ ❌ - Limited Geometric layers support + Limited Geometric layers support in CircleLayout ------------------------------------------------------------------------------- -| Specification | `ggalign` | `marsilea` | `ComplexHeatmap` | `ggtree` | -| -------------------------------------------- | ----------------------------------------------------- | ----------------- | ------------------------------------------------------------------------- | ----------------------------------- | -| **Data input** | Various, and can be easily extended | fixed | fixed | Various, and can be easily extended | -| **Plot Type** | Wide variety, provided by ggplot2 | Many, but limited | Many, but limited | Limited Geometric layers support | -| **Reorder observations** | ✅ | ✅ | Heatmap Only (Cannot be used in Stack Layout) | ✅ | -| **Group observations into different panels** | ✅ | ✅ | Heatmap Only (Cannot be used in Stack Layout) | ❌ | -| **Clustering algorithm** | Kmeans,Hierarchical Clustering and arbitary algorithm | ❌ | Kmeans,Hierarchical Clustering, but can provide clustering group directly | ❌ | -| **Legends Creation** | Automatic | Manual | Limited automatic, requires manual add | Automatic | -| **Legends Position** | Anywhere, can be controlled for a single plot | ? | Four sides, can only be placed on one side at a time | Anywhere | -| **Scientific Color Palettes** | Many | Limited | Limited | Many | -| **Dendrogram** | Tree from Both `hclust` or `ape` | `hclust` only | `hclust` only (Cannot be used in Stack Layout) | Tree from Both `hclust` or `ape` | -| **Tanglegram** | ✅ | ❌ | ❌ | ❌ | -| **3D Heatmap** | ✅ | ❌ | ✅ | ❌ | -| **Oncoplot** | ✅ | ✅ | ✅ | ❌ | -| **UpSet plot** | ✅ | ✅ | ✅ | ❌ | +| Specification | `ggalign` | `marsilea` | `ComplexHeatmap` | `ggtree+aplot` | +| -------------------------------------------- | ----------------------------------------------------- | ----------------- | ------------------------------------------------------------------------- | -------------------------------------------------- | +| **Data input** | Various, and can be easily extended | fixed | fixed | Various, and can be easily extended | +| **Plot Type** | Wide variety, provided by ggplot2 | Many, but limited | Many, but limited | Limited Geometric layers support in `CircleLayout` | +| **Reorder observations** | ✅ | ✅ | Heatmap Only (Cannot be used in Stack Layout) | ✅ | +| **Group observations into different panels** | ✅ | ✅ | Heatmap Only (Cannot be used in Stack Layout) | ❌ | +| **Clustering algorithm** | Kmeans,Hierarchical Clustering and arbitary algorithm | ❌ | Kmeans,Hierarchical Clustering, but can provide clustering group directly | ❌ | +| **Legends Creation** | Automatic | Manual | Limited automatic, requires manual add | Automatic | +| **Legends Position** | Anywhere, can be controlled for a single plot | ? | Four sides, can only be placed on one side at a time | Anywhere | +| **Scientific Color Palettes** | Many | Limited | Limited | Many | +| **Dendrogram** | Tree from Both `hclust` or `ape` | `hclust` only | `hclust` only (Cannot be used in StackLayout) | Tree from Both `hclust` or `ape` | +| **Tanglegram** | ✅ | ❌ | ❌ | ❌ | +| **3D Heatmap** | ✅ | ❌ | ✅ | ❌ | +| **Oncoplot** | ✅ | ✅ | ✅ | ❌ | +| **UpSet plot** | ✅ | ✅ | ✅ | ❌ | ## Acknowledgements I would like to express my sincere gratitude to the contributors of the diff --git a/README.md b/README.md index 74c917b9..d8272cec 100644 --- a/README.md +++ b/README.md @@ -83,7 +83,7 @@ remotes::install_github("Yunuuuu/ggalign") ComplexHeatmap -ggtree +ggtree+aplot @@ -158,7 +158,7 @@ tree Data -Stack Layout +StackLayout ✅ @@ -170,12 +170,12 @@ tree Data ✅ -❌ +✅ -Quad Layout +QuadLayout ✅ @@ -187,15 +187,15 @@ tree Data Heatmap Only (discrete variables) -❌ +Cannot arrange multiple QuadLayouts -Circle Layout +CircleLayout -✅ +Arc with angle \>= 90 ❌ @@ -209,7 +209,7 @@ Heatmap Only (discrete variables) -Cross Layout +CrossLayout ✅ @@ -326,7 +326,7 @@ Easy for ggplot2 users ❌ -Limited Geometric layers support +Limited Geometric layers support in CircleLayout @@ -334,21 +334,21 @@ Limited Geometric layers support ------------------------------------------------------------------------ -| Specification | `ggalign` | `marsilea` | `ComplexHeatmap` | `ggtree` | -|----------------------------------------------|-------------------------------------------------------|-------------------|---------------------------------------------------------------------------|-------------------------------------| -| **Data input** | Various, and can be easily extended | fixed | fixed | Various, and can be easily extended | -| **Plot Type** | Wide variety, provided by ggplot2 | Many, but limited | Many, but limited | Limited Geometric layers support | -| **Reorder observations** | ✅ | ✅ | Heatmap Only (Cannot be used in Stack Layout) | ✅ | -| **Group observations into different panels** | ✅ | ✅ | Heatmap Only (Cannot be used in Stack Layout) | ❌ | -| **Clustering algorithm** | Kmeans,Hierarchical Clustering and arbitary algorithm | ❌ | Kmeans,Hierarchical Clustering, but can provide clustering group directly | ❌ | -| **Legends Creation** | Automatic | Manual | Limited automatic, requires manual add | Automatic | -| **Legends Position** | Anywhere, can be controlled for a single plot | ? | Four sides, can only be placed on one side at a time | Anywhere | -| **Scientific Color Palettes** | Many | Limited | Limited | Many | -| **Dendrogram** | Tree from Both `hclust` or `ape` | `hclust` only | `hclust` only (Cannot be used in Stack Layout) | Tree from Both `hclust` or `ape` | -| **Tanglegram** | ✅ | ❌ | ❌ | ❌ | -| **3D Heatmap** | ✅ | ❌ | ✅ | ❌ | -| **Oncoplot** | ✅ | ✅ | ✅ | ❌ | -| **UpSet plot** | ✅ | ✅ | ✅ | ❌ | +| Specification | `ggalign` | `marsilea` | `ComplexHeatmap` | `ggtree+aplot` | +|----------------------------------------------|-------------------------------------------------------|-------------------|---------------------------------------------------------------------------|----------------------------------------------------| +| **Data input** | Various, and can be easily extended | fixed | fixed | Various, and can be easily extended | +| **Plot Type** | Wide variety, provided by ggplot2 | Many, but limited | Many, but limited | Limited Geometric layers support in `CircleLayout` | +| **Reorder observations** | ✅ | ✅ | Heatmap Only (Cannot be used in Stack Layout) | ✅ | +| **Group observations into different panels** | ✅ | ✅ | Heatmap Only (Cannot be used in Stack Layout) | ❌ | +| **Clustering algorithm** | Kmeans,Hierarchical Clustering and arbitary algorithm | ❌ | Kmeans,Hierarchical Clustering, but can provide clustering group directly | ❌ | +| **Legends Creation** | Automatic | Manual | Limited automatic, requires manual add | Automatic | +| **Legends Position** | Anywhere, can be controlled for a single plot | ? | Four sides, can only be placed on one side at a time | Anywhere | +| **Scientific Color Palettes** | Many | Limited | Limited | Many | +| **Dendrogram** | Tree from Both `hclust` or `ape` | `hclust` only | `hclust` only (Cannot be used in StackLayout) | Tree from Both `hclust` or `ape` | +| **Tanglegram** | ✅ | ❌ | ❌ | ❌ | +| **3D Heatmap** | ✅ | ❌ | ✅ | ❌ | +| **Oncoplot** | ✅ | ✅ | ✅ | ❌ | +| **UpSet plot** | ✅ | ✅ | ✅ | ❌ | ## Acknowledgements