barChart: Produces bar charts.

Description Usage Arguments Value Examples

View source: R/barChart.r

Description

Makes bar graphs showing the number of genes under peaks at various upstream extension levels.

Usage

1
barChart(organism, start, end, by)

Arguments

organism

Object name assigned from readGFF() command.

start

Lower bound of upstream extension.

end

Upper bound of upstream extension.

by

Interval between consecutive extensions.

Value

Creates bar charts.

Examples

1
2
3
4
5
library(rtracklayer)
rat <- readGFF("ftp://ftp.ensembl.org/pub/release-84/gtf/rattus_norvegicus/Rattus_norvegicus.Rnor_6.0.84.gtf.gz")
fpath <- system.file("extdata", "somepeaksfile.txt", package="geneXtendeR")
peaksInput(fpath)
barChart(rat, 1000, 3000, 100)

geneXtendeR documentation built on Nov. 8, 2020, 11:09 p.m.