Skip to content

Commit

Permalink
uncomment code
Browse files Browse the repository at this point in the history
  • Loading branch information
rcannood committed Sep 7, 2024
1 parent fd2dd2b commit ff1778d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 21 deletions.
6 changes: 3 additions & 3 deletions book/on_disk_interoperability.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,18 @@ anndata.__version__

## anndataR

```{r}
```r
library(anndataR)

h5ad_path <- system.file("extdata", "example.h5ad", package = "anndataR")
adata <- read_h5ad(h5ad_path, to = "InMemoryAnnData")
adata
```
```{r}
```r
sce <- adata$to_SingleCellExperiment()
sce
```
```{r}
```r
obj <- adata$to_Seurat()
obj
```
18 changes: 0 additions & 18 deletions renv.lock
Original file line number Diff line number Diff line change
Expand Up @@ -439,24 +439,6 @@
],
"Hash": "6ed1f25b785d5dcb45df21f36592ec37"
},
"anndataR": {
"Package": "anndataR",
"Version": "0.99.0",
"Source": "GitHub",
"RemoteType": "github",
"RemoteHost": "api.github.com",
"RemoteUsername": "scverse",
"RemoteRepo": "anndataR",
"RemoteRef": "main",
"RemoteSha": "dbc6897492d129bc59bf8de51bdaafdf90bcd22a",
"Requirements": [
"Matrix",
"R",
"R6",
"methods"
],
"Hash": "e91c915b3b011328e4b0037215a55d48"
},
"askpass": {
"Package": "askpass",
"Version": "1.2.0",
Expand Down

0 comments on commit ff1778d

Please sign in to comment.