Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The TENxMatrix container is now implemented in the HDF5Array package #17

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: TENxGenomics
Title: Interface to 10x Genomics data
Version: 0.0.27
Version: 0.0.28
Authors@R:
c(person(
"Martin", "Morgan", email = "[email protected]",
Expand All @@ -21,13 +21,12 @@ Description: This package provides an interface to 10xGenomics data,
Depends: R (>= 3.4.0), methods, Matrix, SummarizedExperiment,
DelayedArray (>= 0.3.7)
Imports: rhdf5 (>= 2.19.3-2), tools, BiocGenerics, S4Vectors, IRanges,
HDF5Array (>= 1.7.6), BiocParallel (>= 1.11.2)
HDF5Array (>= 1.9.6), BiocParallel (>= 1.11.2)
Suggests: BiocStyle, knitr, rmarkdown, BiocFileCache,
Rtsne, BiocSklearn, restfulSE
Collate:
TENxGenomics-class.R
coerce.R
TENxMatrix-class.R
tenxSummarizedExperiment.R
tenxiterate.R
License: Artistic-2.0
Expand Down
3 changes: 0 additions & 3 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

S3method(as.matrix,TENxGenomics)
export(TENxGenomics)
export(TENxMatrix)
export(as.dgCMatrix)
export(as.dgCMatrixSummarizedExperiment)
export(as.matrixSummarizedExperiment)
Expand All @@ -11,8 +10,6 @@ export(dgCMatrixSummarizedExperiment)
export(matrixSummarizedExperiment)
export(tenxSummarizedExperiment)
export(tenxiterate)
exportClasses(TENxMatrix)
exportClasses(TENxMatrixSeed)
exportMethods("[")
exportMethods(coerce)
exportMethods(dim)
Expand Down
230 changes: 0 additions & 230 deletions R/TENxMatrix-class.R

This file was deleted.

39 changes: 0 additions & 39 deletions man/TENxMatrix-class.Rd

This file was deleted.

10 changes: 7 additions & 3 deletions vignettes/TENxGenomics.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ knitr::opts_chunk$set(
suppressPackageStartupMessages({
library(TENxGenomics)
library(BiocFileCache)
library(HDF5Array)
library(SummarizedExperiment)
library(Rtsne)
})
Expand Down Expand Up @@ -104,16 +105,18 @@ as.matrix(tenx[sample(nrow(tenx), 5), sample(ncol(tenx), 3)])
## Using a TENxMatrix object

An alternative to creating `TENxGenomics` object `tenx` is to wrap the
10xGenomics data in a `TENxMatrix` object.
10xGenomics data in a `TENxMatrix` object. The `TENxMatrix` container is
implemented in the [HDF5Array][] package.

```{r}
library(HDF5Array)
tenxmat <- TENxMatrix(path)
```

The `TENxMatrix` class extends the `DelayedArray` class defined in the
[DelayedArray][] package so all the operations available on `DelayedArray`
objects work on `TENxMatrix` objects. See `?DelayedArray` for more
information.
objects work on `TENxMatrix` objects. See `?TENxMatrix` and `?DelayedArray`
for more information.

## Rich

Expand Down Expand Up @@ -304,3 +307,4 @@ sessionInfo()
[BiocFileCache]: https://bioconductor.org/packages/BiocFileCache
[SummarizedExperiment]: https://bioconductor.org/packages/SummarizedExperiment
[DelayedArray]: https://bioconductor.org/packages/DelayedArray
[HDF5Array]: https://bioconductor.org/packages/HDF5Array