plotProfile: plot profiles

Description Usage Arguments Value Examples

View source: R/plotProfile.R

Description

Plot a profile for counts.

Usage

1
2
3
4
5
6
7
8
plotProfile(
  se,
  loessSmooth = TRUE,
  span = 1/25,
  facet = "group",
  xaxis_breaks = NULL,
  xaxis_label = NULL
)

Arguments

se

a SummarizedExperiment object from importCount.

loessSmooth

Use loess.smooth to smooth curve or not.

span

smoothness parameter for loess.

facet

group or sample. This will be passed to facet_wrap. It can be set to NULL.

xaxis_breaks, xaxis_label

xaxis breaks and labels. see scale_x_continuous.

Value

ggplot object

Examples

1
2
3
file <- system.file("extdata", "count.gz", package= "deepToolsDownstream")
se <- importCount(file)
plotProfile(se)

jianhong/deepToolsDownstream documentation built on Oct. 22, 2021, 7:48 a.m.