TENxFragments: A class to represent fragments data as GRanges
Source: R/TENxFragments-class.R
TENxFragments-class.RdThis class is designed to work mainly with fragments.tsv.gz files from
10x pipelines.
Arguments
- con
The connection from which data is loaded or to which data is saved. If this is a
charactervector, it is assumed to be a file name and a corresponding file connection is created and then closed after exporting the object. If it is a BiocFile derivative, the data is loaded from or saved to the underlying resource. If missing, the function will return the output as a character vector, rather than writing to a connection.- format
The format of the output. If missing and
conis a file name, the format is derived from the file extension. This argument is unnecessary whenconis a derivative of BiocFile.- text
If
conis missing, this can be a character vector directly providing the string data to import.- ...
Parameters to pass to the format-specific method.
Details
Fragments data from 10x can be quite large. In order to speed up
the initial exploration of the data, we use a default of 200 records
for loading. Users can change this default value by specifying a new one
via the yieldSize argument in the constructor function.