LoadReference: Load the reference RDS files

View source: R/seurat_data.R

LoadReferenceR Documentation

Load the reference RDS files

Description

Read in a reference Seurat object and annoy index. This function can read from a file path. In order to read properly, there must be the following files:

  • “ref.Rds” for the downsampled reference Seurat object (for mapping)

  • “idx.annoy” for the nearest-neighbor index object

Usage

LoadReference(path)

Arguments

path

Pathto the two RDS files

Value

A list with two entries:

map

The downsampled reference Seurat object (for mapping)

plot

The reference Seurat object (for plotting)


satijalab/seurat-data documentation built on April 12, 2025, 7:45 p.m.