Arguments passed to plot function. such as aes() and color.
xlab
Label for x
ylab
Label for y
main
Title for plot.
by
An object with 'start', 'end', and 'width' methods. Passed to aggreagate.
FUN
The function, found via 'match.fun', to be applied to each window of
'x'. Passed to aggreagate.
maxgap, minoverlap
It passed to findOverlaps.
Intervals with a separation of maxgap or less and a minimum
of minoverlap overlapping positions, allowing for
maxgap, are considered to be overlapping. maxgap
should be a scalar, non-negative, integer. minoverlap
should be a scalar, positive integer.
type
It passed to findOverlaps.
By default, any overlap is accepted. By specifying the type
parameter, one can select for specific types of overlap. The types
correspond to operations in Allen's Interval Algebra (see
references). If type is start or end, the
intervals are required to have matching starts or ends,
respectively. While this operation seems trivial, the naive
implementation using outer would be much less
efficient. Specifying equal as the type returns the
intersection of the start and end matches. If
type is within, the query interval must be wholly
contained within the subject interval. Note that all matches must
additionally satisfy the minoverlap constraint described above.
The maxgap parameter has special meaning with the special
overlap types. For start, end, and equal,
it specifies the maximum difference in the starts, ends or both,
respectively. For within, it is the maximum amount by which
the query may be wider than the subject.
select
It passed to findOverlaps.
When select is "all" (the default), the results are
returned as a Hits object. When select is "first",
"last", or "arbitrary" the results are returned as an
integer vector of length query containing the first, last,
or arbitrary overlapping interval in subject, with NA
indicating intervals that did not overlap any intervals in subject.
If select is "all", a Hits object is returned.
For all other select the return value depends on the drop
argument. When select != "all" && !drop, an IntegerList
is returned, where each element of the result corresponds to a space in
query. Whenselect != "all" && drop, an integer vector is
returned containing indices that are offset to align with the unlisted
query.
y
A character indicate the varialbe column for which aggregation is
taken on, same as aes(y = ).
window
Integer value indicate window size.
facets
Faceting formula to use.
method
customized method for aggregating, if FUN is not provided.