Skip to contents

plotthis is an R package that is built upon ggplot2 and other plotting packages. It provides high-level APIs and a wide range of options to create stunning, publication-quality plots effortlessly.

Installation

install.packages("plotthis")
# or to install the latest version:
remotes::install_github("pwwang/plotthis")
devtools::install_github("pwwang/plotthis")

You can also install the package using conda:

$ conda install pwwang::r-plotthis

Credits

plotthis is greatly inspired by the SCP package, but with the plotting functions detached from the Seurat object or single-cell data analysis. It is designed to be more flexible and general-purpose, and can be used for a wide range of data types and analysis scenarios.

AreaPlot / TrendPlot

area-trend

ClustreePlot / LinePlot / Network

clustree-line

Heatmap

heatmap

CorPlot / CorPairsPlot

cor-corpairs

PieChart / RingPlot

pie-ring

VolcanoPlot / WordCloudPlot

volcano-wordcloud

BarPlot / SplitBarPlot

bar-splitbar

BoxPlot / ViolinPlot

box-violin

ChordPlot / UpsetPlot / VennDiagram

chord-upset-venn

DensityPlot / Histogram / RidgePlot

density-histogram

DimPlot / FeatureDimPlot

dimplot

DotPlot / ScatterPlot / LollipopPlot

dot-scatter-lollipop

EnrichMap / EnrichNetwork

enrich

GSEASummaryPlot / GSEAPlot

gsea

RadarPlot / SpiderPlot / RarefactionPlot

radar-spider

SankeyPlot / AlluvialPlot

sankey-alluvial