The SequenceDataFrame class is a virtual class and contains data for
positions along a single transcript. In addition to being used for returning
elements from a SequenceData object, the SequenceDataFrame class is
used to store the unlisted data within a
SequenceData object. Therefore, a matching
SequenceData and SequenceDataFrame class must be implemented.
The SequenceDataFrame class is derived from the
DataFrame class. To follow the
functionallity in the S4Vectors package, SequenceDataFrame
implements the concept, whereas SequenceDFrame is the implementation
for in-memory data representation from which some specific
*SequenceDataFrame class derive from, e.g.
CoverageSequenceData.
Subsetting of a SequenceDataFrame returns a SequenceDataFrame or
DataFrame, if it is subset by a column or row, respectively. The
drop argument is ignored for column subsetting.
# S4 method for class 'SequenceDataFrame'
cbind(..., deparse.level = 1)
# S4 method for class 'SequenceDataFrame,ANY,ANY,ANY'
x[i, j, ..., drop = TRUE]arguments used for
subsetting or
base::cbind.
A SequenceDataFrame object or if subset to row a
DataFrame
rangesa GRanges
object each element describing a transcript including its element. The
GRanges is constructed from the unlisted results of the
exonsBy(x, by="tx") function.
If during construction a GRangesList is provided instead of a
character value pointing to a gff3 file or a TxDb object, it must have
a comparable structure.
sequencea XString of
type sequencesType from the parent
SequenceData object.
conditionconditions along the
BamFileList: Either control
or treated
replicatereplicate number along the BamFileList for each of the
condition types.
bamfilesthe input bam files as
BamFileList
seqinfoa Seqinfo describing
the avialable/used chromosomes.
for an example see
ProtectedEndSequenceData
and for more information see SequenceData