TENxTSV-class | R Documentation |
This class is general purpose for reading in tabular data from
the 10x Genomics website with the .tsv
file extension. The class also
supports compressed files, i.e., those with the .tsv.gz
extension.
## S4 method for signature 'TENxTSV,ANY,ANY'
import(con, format, text, ...)
TENxTSV(resource, compressed = FALSE, ...)
## S4 method for signature 'TENxTSV'
metadata(x, ...)
con |
The connection from which data is loaded or to which data is
saved. If this is a |
format |
The format of the output. If missing and |
text |
If |
... |
Parameters to pass to the format-specific method. |
resource |
character(1) The path to the file |
compressed |
logical(1) Whether the resource file is compressed (default FALSE) |
x |
A |
Typical .tsv
files obtained from the 10X website are compressed
and contain information relevant to 'barcodes' and 'features'. Currently,
the code only supports files such as features.tsv.*
and barcodes.tsv.*
.
A TENxTSV
class object; a tibble
for the import method
import(con = TENxTSV, format = ANY, text = ANY)
: General import method for tsv
files from 10x;
using readr::read_tsv
and returning a tibble
representation
metadata(TENxTSV)
: metadata
method for TENxTSV
objects
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.