b12b4dd3 |
% Generated by roxygen2: do not edit by hand
|
0bb9257c |
% Please edit documentation in R/TENxFragments-class.R
\name{TENxFragments}
\alias{TENxFragments}
|
bc9ed23f |
\title{TENxFragments: Import fragments files from 10X}
|
b12b4dd3 |
\usage{
|
334a0644 |
TENxFragments(resource, yieldSize = 200, which = GRanges(), ...)
|
1d05d9dc |
}
\arguments{
|
0bb9257c |
\item{resource}{character(1) The file path to the fragments resource, usually
a compressed tabix file with extension \code{.tsv.gz}.}
|
1d05d9dc |
\item{yieldSize}{numeric() The number of records to read by default, 200
|
bc9ed23f |
records will be imported. A warning will be emitted if not modified.}
|
1d05d9dc |
|
334a0644 |
\item{which}{GRanges() A GRanges indicating the regions of interest. This
|
0bb9257c |
get sent to \code{RSamtools} as the \code{param} input.}
\item{...}{Further arguments to the class generator function (currently not
used)}
|
b12b4dd3 |
}
|
fd5d3c1e |
\value{
A \code{RaggedExperiment} object class
}
|
b12b4dd3 |
\description{
|
bc9ed23f |
TENxFragments: Import fragments files from 10X
|
b12b4dd3 |
}
\examples{
|
77c98dea |
fr <- system.file(
"extdata", "pbmc_3k_atac_ex_fragments.tsv.gz",
package = "TENxIO", mustWork = TRUE
)
|
1d05d9dc |
|
0bb9257c |
tfr <- TENxFragments(fr)
|
77c98dea |
|
0bb9257c |
fra <- import(tfr)
|
b12b4dd3 |
}
|