sideHist: sideHist

View source: R/SidebySideHists.R

sideHistR Documentation

sideHist

Description

Plots two histograms side by side with smoothed density overlay

Usage

sideHist(x, y, logT = TRUE, title.gene = "")

Arguments

x

First numeric vector of data to plot.

y

Second numeric vector of data to plot.

logT

Logical that indicates whether to take the log(x+1) transformation.

title.gene

Character vector that contains the gene name that you are plotting

Value

NULL (creates a baseR plot)

References

Korthauer KD, Chu LF, Newton MA, Li Y, Thomson J, Stewart R, Kendziorski C. A statistical approach for identifying differential distributions in single-cell RNA-seq experiments. Genome Biology. 2016 Oct 25;17(1):222. https://genomebiology.biomedcentral.com/articles/10.1186/s13059-016-1077-y


kdkorthauer/scDD documentation built on March 27, 2022, 5:11 a.m.