load_example_dataset: Load/download a Seurat or ClusterSet example dataset.

View source: R/utils.R

load_example_datasetR Documentation

Load/download a Seurat or ClusterSet example dataset.

Description

Load/download a Seurat or ClusterSet example dataset.

Usage

load_example_dataset(
  dataset = c("7871581/files/pbmc3k_medium", "7871581/files/pbmc3k_medium_clusters",
    "8028126/files/pbmc3k_medium_clusters_enr",
    "8028226/files/pbmc3k_medium_clusters_enr_sub", "7870305/files/lymph_node_tiny_2",
    "7870305/files/lymph_node_tiny_clusters_2", "7869307/files/lymph_node_tiny",
    "7869307/files/lymph_node_tiny_clusters"),
  timeout = NULL,
  force = FALSE
)

Arguments

dataset

The name of the dataset.

timeout

Set the timout for download (options(timeout=timeout))

force

Reload the dataset even if already in globalEnv.

Value

Load the dataset.

Examples

# An example Seurat/Visium dataset
load_example_dataset("7870305/files/lymph_node_tiny_2")
lymph_node_tiny_2
# An example clusterSet dataset
load_example_dataset("7870305/files/lymph_node_tiny_clusters_2")
lymph_node_tiny_clusters_2

dputhier/scigenex documentation built on Jan. 29, 2024, 3:40 p.m.