fetch_cellular_data: Access Cellular Data from SeuratDisk File

View source: R/data.R

fetch_cellular_dataR Documentation

Access Cellular Data from SeuratDisk File

Description

Retrieves data (feature expression, PCA scores, metrics, etc.) for a set of cells in a SeuratDisk file.

Usage

fetch_cellular_data(x, vars, cells = NULL, slot = "data", ...)

## S3 method for class 'character'
fetch_cellular_data(x, vars, cells = NULL, slot = "data", ...)

## S3 method for class 'h5Seurat'
fetch_cellular_data(x, vars, ...)

Arguments

x

h5Seurat filename or connection.

vars

List of all variables to fetch.

cells

Cells to collect data for (default is all cells)

slot

Slot to pull feature data for

...

additional parameters

Value

A data frame with cells as rows and cellular data as columns

Methods (by class)

  • character: Access data from filename.

  • h5Seurat: Access data from h5Seurat connection.


altairwei/rhapsodykit documentation built on Feb. 1, 2023, 8:52 a.m.