Skip to content
This repository was archived by the owner on Oct 14, 2025. It is now read-only.

Commit 5dd98fb

Browse files
committed
Use auto-generated readme, rerun rogygen
1 parent 940dba1 commit 5dd98fb

File tree

3 files changed

+19
-185
lines changed

3 files changed

+19
-185
lines changed

README.md

Lines changed: 0 additions & 177 deletions
This file was deleted.

man/get_metadata.Rd

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.Rmd renamed to vignettes/readme.Rmd

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,22 @@
11
---
2-
title: "HCAquery"
3-
output: github_document
4-
always_allow_html: true
2+
title: "HCA Harmonised"
3+
output: rmarkdown::html_vignette
4+
vignette: >
5+
%\VignetteIndexEntry{readme}
6+
%\VignetteEngine{knitr::rmarkdown}
7+
%\VignetteEncoding{UTF-8}
58
---
69

10+
```{r, include = FALSE}
11+
# Note: knit this to the repo readme file using:
12+
# rmarkdown::render("vignettes/readme.Rmd", output_format = "github_document", output_dir = getwd())
13+
knitr::opts_chunk$set(
14+
collapse = TRUE,
15+
comment = "#>"
16+
)
17+
```
18+
19+
720
Load the package
821

922
```{r, message=FALSE, warning=FALSE}
@@ -57,7 +70,7 @@ sce <-
5770
tissue == "lung parenchyma" &
5871
cell_type %LIKE% "%CD4%"
5972
) |>
60-
get_SingleCellExperiment(assay = "counts_per_million")
73+
get_SingleCellExperiment(assays = "cpm")
6174
6275
sce
6376
```
@@ -72,7 +85,7 @@ get_metadata() |>
7285
tissue == "lung parenchyma" &
7386
cell_type %LIKE% "%CD4%"
7487
) |>
75-
get_SingleCellExperiment(genes = "PUM1")
88+
get_SingleCellExperiment(features = "PUM1")
7689
```
7790

7891
Extract the counts as a Seurat object:
@@ -87,6 +100,3 @@ get_metadata() |>
87100
) |>
88101
get_seurat()
89102
```
90-
91-
92-

0 commit comments

Comments
 (0)