Skip to content

Commit

Permalink
Merge branch 'use-case-vignette' into devel
Browse files Browse the repository at this point in the history
  • Loading branch information
mtmorgan committed Jan 17, 2024
2 parents c3329f8 + a571319 commit 3d24f33
Show file tree
Hide file tree
Showing 6 changed files with 331 additions and 11 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ vignettes/*html
/doc/
/Meta/
docs
inst/doc
5 changes: 3 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: cellxgenedp
Title: Discover and Access Single Cell Data Sets in the cellxgene Data Portal
Version: 1.7.1.9000
Title: Discover and Access Single Cell Data Sets in the CELLxGENE Data Portal
Version: 1.7.1.9100
Authors@R:
c(person(
given = "Martin",
Expand All @@ -26,6 +26,7 @@ Suggests:
zellkonverter,
SingleCellExperiment,
HDF5Array,
tidyr,
BiocStyle,
knitr,
rmarkdown,
Expand Down
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# cellxgenedp 1.8

* (v 1.7.2) Add vignette 'Case Studies'
* (v 1.7.1) Update vignette section on dataset visualization to
accomodate changes in the 'Discover' API.
https://github.com/mtmorgan/cellxgenedp/issues/15
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ remotes::install_github("mtmorgan/cellxgenedp")
To also install additional packages required for this vignette, use

``` r
pkgs <- c("zellkonverter", "SingleCellExperiment", "HDF5Array")
pkgs <- c("tidyr", "zellkonverter", "SingleCellExperiment", "HDF5Array")
required_pkgs <- pkgs[!pkgs %in% rownames(installed.packages())]
BiocManager::install(required_pkgs)
```
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: "Discover and download datasets and files from the cellxgene data portal"
title: "Discover and download datasets and files from CELLxGENE"
author:
- name: Martin Morgan
affiliation: Roswell Park Comprehensive Cancer Center
Expand All @@ -14,7 +14,7 @@ abstract: |
package provides an alternative, R-based inteface, allowing flexible data
discovery, viewing, and downloading.
vignette: |
%\VignetteIndexEntry{Discover and download datasets and files from the cellxgene data portal}
%\VignetteIndexEntry{Discover and download datasets and files from CELLxGENE}
%\VignetteEngine{knitr::rmarkdown}
%\VignetteEncoding{UTF-8}
---
Expand All @@ -27,18 +27,20 @@ CELLxGENE removes the previous interface. See the vignette section
# Installation and use

This package is available in _Bioconductor_ version 3.15 and
later. The following code installs [cellxgenedp][] as well as other
packages required for this vignette.
later. The following code installs [cellxgenedp][cellxgenedp-bioc]
from _Bioconductor_

[cellxgenedp]: https://bioconductor.org/packages/cellxgenedp
[cellxgenedp-bioc]: https://bioconductor.org/packages/cellxgenedp
[cellxgenedp]: https://mtmorgan.github.io/cellxgenedp

```{r, eval = FALSE}
if (!"BiocManager" %in% rownames(installed.packages()))
install.packages("BiocManager", repos = "https://CRAN.R-project.org")
BiocManager::install("cellxgenedp")
```

Alternatively, install the 'development' version from GitHub
Alternatively, install the 'development' version from GitHub (see
[GitHub.io][cellxgenedp] for current documentation)

```{r, eval = FALSE}
if (!"remotes" %in% rownames(installed.packages()))
Expand All @@ -49,7 +51,7 @@ remotes::install_github("mtmorgan/cellxgenedp")
To also install additional packages required for this vignette, use

```{r, eval = FALSE}
pkgs <- c("zellkonverter", "SingleCellExperiment", "HDF5Array")
pkgs <- c("tidyr", "zellkonverter", "SingleCellExperiment", "HDF5Array")
required_pkgs <- pkgs[!pkgs %in% rownames(installed.packages())]
BiocManager::install(required_pkgs)
```
Expand Down Expand Up @@ -213,7 +215,7 @@ left_join(
Many collections include publication information and other external
data. This information is available in the return value of
`collections()`, but the helper function `publisher_metadata()`,
`authors()`, and `links()` may facilite access.
`authors()`, and `links()` may facilitate access.

Suppose one is interested in the publication "A single-cell atlas of
the healthy breast tissues reveals clinically relevant clusters of
Expand Down
Loading

0 comments on commit 3d24f33

Please sign in to comment.