plotAvgProf2 {ChIPseeker} | R Documentation

## plotAvgProf

### Description

plot the profile of peaks that align to flank sequences of TSS

### Usage

    plotAvgProf2(
      peak,
      weightCol = NULL,
      TxDb = NULL,
      upstream = 1000,
      downstream = 1000,
      xlab = "Genomic Region (5'->3')",
      ylab = "Peak Count Frequency",
      conf,
      facet = "none",
      free_y = TRUE,
      verbose = TRUE,
      ignore_strand = FALSE,
      ...
    )

### Arguments

`peak` | peak file or GRanges object
`weightCol` | column name of weight
`TxDb` | TxDb object
`upstream` | upstream position
`downstream` | downstream position
`xlab` | xlab
`ylab` | ylab
`conf` | confidence interval
`facet` | one of 'none', 'row' and 'column'
`free_y` | if TRUE, y will be scaled by AvgProf
`verbose` | print message or not
`ignore_strand` | ignore the strand information or not
`...` | additional parameter

### Value

ggplot object

### Author(s)

G Yu, Ming L

[Package ChIPseeker version 1.30.3 Index]