The Fragment class is designed to hold information needed for working with fragment files.
Usage
# S4 method for class 'Fragment2'
seqlevels(x)
# S4 method for class 'Fragment2'
seqlevels(x) <- value
# S4 method for class 'Fragment2'
seqlevelsStyle(x)
# S4 method for class 'Fragment2'
seqlevelsStyle(x) <- value
# S4 method for class 'Fragment2'
renameSeqlevels(x, value)Functions
seqlevels(Fragment2): Get sequence levelsseqlevels(Fragment2) <- value: Set sequence levelsseqlevelsStyle(Fragment2): Get sequence levels styleseqlevelsStyle(Fragment2) <- value: Set sequence levels stylerenameSeqlevels(Fragment2): Rename sequence levels
Slots
file.pathPath to the fragment file on disk.
file.indexPath to the fragment file index on disk.
hashA vector of two md5sums: first element is the md5sum of the fragment file, the second element is the md5sum of the index.
cellsA named vector of cells where each element is the cell barcode as it appears in the fragment file, and the name of each element is the corresponding cell barcode as stored in the ChromatinAssay5 object.
seqlevelsA named vector of sequence levels (eg, chromosome name) where each element is the sequence name as it appears in the fragment file, and then name of each element is the corresponding sequence name as stored in the ChromatinAssay5 object.