Parameters for creating pileups from BAM files
Use ApplyPileupsParam()
to create a parameter object influencing
what fields and which records are used to calculate pile-ups, and to
influence the values returned.
# Constructor ApplyPileupsParam(flag = scanBamFlag(), minBaseQuality = 13L, minMapQuality = 0L, minDepth = 0L, maxDepth = 250L, yieldSize = 1L, yieldBy = c("range", "position"), yieldAll = FALSE, which = GRanges(), what = c("seq", "qual")) # Accessors plpFlag(object) plpFlag(object) <- value plpMaxDepth(object) plpMaxDepth(object) <- value plpMinBaseQuality(object) plpMinBaseQuality(object) <- value plpMinDepth(object) plpMinDepth(object) <- value plpMinMapQuality(object) plpMinMapQuality(object) <- value plpWhat(object) plpWhat(object) <- value plpWhich(object) plpWhich(object) <- value plpYieldAll(object) plpYieldAll(object) <- value plpYieldBy(object) plpYieldBy(object) <- value plpYieldSize(object) plpYieldSize(object) <- value ## S4 method for signature 'ApplyPileupsParam' show(object)
flag |
An instance of the object returned by
|
minBaseQuality |
The minimum read base quality below which the base is ignored when summarizing pileup information. |
minMapQuality |
The minimum mapping quality below which the entire read is ignored. |
minDepth |
The minimum depth of the pile-up below which the position is ignored. |
maxDepth |
The maximum depth of reads considered at any position; this can be used to limit memory consumption. |
yieldSize |
The number of records to include in each call to
|
yieldBy |
How records are to be counted. By range (in which case
|
yieldAll |
Whether to report all positions
( |
which |
A |
what |
A |
object |
An instace of class |
value |
An instance to be assigned to the corresponding slot of
the |
Objects are created by calls of the form ApplyPileupsParam()
.
Slot interpretation is as described in the ‘Arguments’ section.
flag
Object of class integer
encoding flags
to be kept when they have their '0' (keep0
) or '1'
(keep1
) bit set.
minBaseQuality
An integer(1)
.
minMapQuality
An integer(1)
.
minDepth
An integer(1)
.
maxDepth
An integer(1)
.
yieldSize
An integer(1)
.
yieldBy
An character(1)
.
yieldAll
A logical(1)
.
which
A GRanges
or IntegerRangesList
object.
what
A character()
.
See 'Usage' for details on invocation.
Constructor:
Returns a ApplyPileupsParam
object.
Accessors: get or set corresponding slot values; for setters,
value
is coerced to the type of the corresponding slot.
Returns or sets the named integer
vector of flags; see scanBamFlag
.
Returns or sets an
integer(1)
vector of miminum base qualities.
Returns or sets an
integer(1)
vector of miminum map qualities.
Returns or sets an
integer(1)
vector of miminum pileup depth.
Returns or sets an
integer(1)
vector of the maximum depth to which pileups are
calculated.
Returns or sets an
integer(1)
vector of yield size.
Returns or sets an
character(1)
vector determining how pileups will be
returned.
Returns or sets an
logical(1)
vector indicating whether all positions, or just
those satisfying pileup positions, are to be returned.
Returns or sets the object influencing which locations pileups are calculated over.
Returns or sets the character
vector describing what summaries are returned by pileup.
Methods:
Compactly display the object.
Martin Morgan
example(applyPileups)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.