plotAnnoPie.csAnno {ChIPseeker} | R Documentation

## plotAnnoPie

### Description

pieplot from peak genomic annotation

### Usage

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

### 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
`radius` | radius of Pie
`...` | extra parameter

### Value

pie plot of peak genomic feature annotation

### Author(s)

Guangchuang Yu https://yulab-smu.top

### 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.30.3 Index]