Read in a precomputed extended reference. This function can read either from URLs or a file path. The function looks for a file called ext.Rds for the extended reference Seurat object

LoadBridgeReference(path, seconds = 10L)

Arguments

path

Path or URL to the RDS file

seconds

Timeout to check for URLs in seconds

Value

A list with two entries:

map

The extended reference Seurat object

plot

The reference Seurat object (for plotting)

Examples

if (FALSE) {
# Load from a URL
ref <- LoadBridgeReference("https://seurat.nygenome.org/references/pbmc")
# Load a file from the path to a directory 
ref2 <- LoadBridgeReference("path/")
# Load a file directly
ref3 <- LoadBridgeReference("ext.Rds")
}