Skip to contents

Call to load any of the example datasets included in the SpatialMap package. Use without arguments or see the Details section below to show info on what current datasets are available.

Usage

load_sm_data(dataset = c("tonsil", "skin", "description"))

load_sm_tonsil()

load_sm_skin()

load_sm_data_descriptions()

Arguments

dataset

The dataset to load - either "skin", "tonsil", or "description"

Value

Returns a SpatialMap object with example data

Details

Available Datasets: Skin dataset:

  • Features:

    • 6 samples/Regions

    • 40 features (biomarkers)

    • 22,732 single-cells

  • Project metadata (samples):

    • Diseases: Atopic dermatits (3), healthy (3)

    • Tissue: skin (6)

  • Cell-level metadata:

    • Cell phenotypes: cell_type

  • To load, e.g.: sm_skin <- load_sm_data('skin')

Tonsil dataset:

  • Features:

    • 2 samples/Regions/patients

    • 16 features (biomarkers)

    • 16,498 single-cells

  • Project metadata:

    • Tissue: tonsil

  • To load, e.g.: sm_tonsil <- load_sm_data('tonsil')

Examples

# Load sm_tonsil dataset
sm <- load_sm_data("skin")
show(sm)
#> SpatialMap object 
#> Active analysis:  regions 
#> +  25,557 total cells 
#> +  40 features 
#> +  6 Regions: 
#>   - Skin1
#>   - Skin2
#>   - Skin3
#>   - Skin4
#>   - Skin5
#>   - Skin6 

Scroll to top