Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

plotDistToTSS.data.frame

plotDistToTSS.data.frame


Description

plot feature distribution based on the distances to the TSS

Usage

plotDistToTSS.data.frame(
  peakDist,
  distanceColumn = "distanceToTSS",
  xlab = "",
  ylab = "Binding sites (%) (5'->3')",
  title = "Distribution of transcription factor-binding loci relative to TSS",
  categoryColumn
)

Arguments

peakDist

peak annotation

distanceColumn

column name of the distance from peak to nearest gene

xlab

x label

ylab

y lable

title

figure title

categoryColumn

category column

Value

bar plot that summarize distance from peak to TSS of the nearest gene.

Author(s)

See Also

Examples

## Not run: 
require(TxDb.Hsapiens.UCSC.hg19.knownGene)
txdb <- TxDb.Hsapiens.UCSC.hg19.knownGene
peakfile <- system.file("extdata", "sample_peaks.txt", package="ChIPseeker")
peakAnno <- annotatePeak(peakfile, TxDb=txdb)
plotDistToTSS(peakAnno)

## End(Not run)

ChIPseeker

ChIPseeker for ChIP peak Annotation, Comparison, and Visualization

v1.26.2
Artistic-2.0
Authors
Guangchuang Yu [aut, cre] (<https://orcid.org/0000-0002-6485-8781>), Yun Yan [ctb], Hervé Pagès [ctb], Michael Kluge [ctb], Thomas Schwarzl [ctb], Zhougeng Xu [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.