plotAnnoPie.csAnno {ChIPseeker} | R Documentation

## plotAnnoPie

### Description

pieplot from peak genomic annotation

### Usage

    plotAnnoPie.csAnno(
      x,
      ndigit = 2,
      cex = 0.9,
      col = NA,
      legend.position = "rightside",
      pie3D = FALSE,
      ...
    )

### Arguments

`x` | csAnno object
`ndigit` | number of digit to round
`cex` | label cex
`col` | color
`legend.position` | topright or other.
`pie3D` | plot in 3D or not
`...` | extra parameter

### Value

pie plot of peak genomic feature annotation

### Author(s)

Guangchuang Yu https://guangchuangyu.github.io

### See Also

`annotatePeak` `plotAnnoBar`

### 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)
    plotAnnoPie(peakAnno)

    ## End(Not run)

[Package ChIPseeker version 1.26.2 Index]