Usage
exportCoverage(object, file, type, strand, color,
filter.by.coverage.cutoff = FALSE, coverage.cutoff = NULL, rpm = FALSE,
total.reads)## S3 method for class 'TranscriptionDataSet':
exportCoverage(object, file, type, strand,
color, filter.by.coverage.cutoff = FALSE, coverage.cutoff = NULL,
rpm = FALSE, total.reads)
Arguments
file
Character
. A file name.
type
Character
. Track type, either "bigWig" or "bedGraph".
Default: "bedGraph".
strand
Character
. The strand to create a track for.
One of ["+", "-"].
color
Object of class "integer" representing the track color
(as from col2rgb). Only works with tracks of type "bedGraph". Default:
c(0L, 0L, 255L).
filter.by.coverage.cutoff
Logical
. Whether to discard regions
with low fragment coverage, representing expression noise from the
resulting track. Default: FALSE.
coverage.cutoff
Numeric
. A cutoff value to discard regions with
the low fragment coverage, representing expression noise. By default,
the value stored in the coverageCutoff
slot of the supplied object
is used. The optimal cutoff value can be calculated by
estimateBackground
function call. Default: NULL.rpm
Logical
. Whether to perform normalization ('Reads Per
Million'). Default: FALSE.
total.reads
Numeric
. Total number of reads used for
normalization. By default, the total number of
reads stored in the provided TranscriptionDataSet
object is
used.