Learn R Programming

⚠️There's a newer version (5.0.2) of this package.Take me there.

SeuratObject (version 5.0.0)

Data Structures for Single Cell Data

Description

Defines S4 classes for single-cell genomic data and associated information, such as dimensionality reduction embeddings, nearest-neighbor graphs, and spatially-resolved coordinates. Provides data access methods and R-native hooks to ensure the Seurat object is familiar to other R users. See Satija R, Farrell J, Gennert D, et al (2015) , Macosko E, Basu A, Satija R, et al (2015) , and Stuart T, Butler A, et al (2019) , Hao Y, Hao S, et al (2021) and Hao Y, et al (2023) for more details.

Copy Link

Version

Install

install.packages('SeuratObject')

Monthly Downloads

49,038

Version

5.0.0

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Paul Hoffman

Last Published

October 26th, 2023

Functions in SeuratObject (5.0.0)

Assay-class

The Assay Class
Assay5-class

The v5 Assay Object
CastAssay

Cast Assay Layers
AttachDeps

Attach Required Packages
Assay5-validity

V5 Assay Validity
Cells-StdAssay

Cell and Feature Names
AddMetaData

Add in metadata associated with either cells or features.
Assay5T-class

The Transposed v5 Assay Object
Cells

Cell and Feature Names
AssayData-StdAssay

Get and Set Assay Data
Centroids-methods

Centroids Methods
Boundaries

Get, Set, and Query Segmentation Boundaries
CastAssay-StdAssay

Cast Assay Layers
CellsByIdentities

Get cell names grouped by identity class
CheckLayersName

Check layers names for the input list
CheckMatrix

Check Matrix Validity
ClassKey

Generate a Class Key
Assay-validity

V3 Assay Validity
DefaultAssay

Default Assay
CheckDots

Check the Use of Dots
CheckFeaturesNames

Check features names format
CheckGC

Conditional Garbage Collection
CreateAssay5Object

Create a v5 Assay object
DefaultDimReduc

Find the default DimReduc
CellsByImage

Get a vector of cell names associated with an image (or set of images)
Embeddings

Get Cell Embeddings
Centroids-class

The Centroids Class
CreateAssayObject

Create an Assay object
Images

Pull spatial image names
CreateCentroids

Create a Centroids Objects
CreateFOV

Create Spatial Coordinates
CreateSegmentation

Create a Segmentation Objects
EmptyDF

Empty Data Frames
Indices

Get Neighbor nearest neighbor index matrices
Layers-StdAssay

Query and Manipulate Assay Layers
CreateMolecules

Create a Molecules Object
CreateSeuratObject

Create a Seurat object
LayerData

Query and Manipulate Assay Layers
GetImage

Get image data
PackageCheck

Check the existence of a package
Command

Get SeuratCommands
DefaultLayer

Default Layer
GetTissueCoordinates

Get tissue coordinates
CreateDimReducObject

Create a DimReduc object
PolyVtx

Polygon Vertices
FOV-methods

FOV Methods
DimReduc-class

The Dimensional Reduction Class
JS

Get and set JackStraw information
Tool

Get and Set Additional Tool Data
Key

Get and set object keys
Crop

Crop Coordinates
DefaultAssay-StdAssay

Default Assay
DefaultFOV

Get and Set the Default FOV
DefaultLayer-StdAssay

Default Layer
KeyMixin-class

A Mixin for Keyed objects
ExtractField

Extract delimiter information from a string.
UpdateSeuratObject

Update old Seurat object to accommodate new features
FOV-validity

FOV Validity
FOV-class

The Field of View Object
IsGlobal

Is an object global/persistent?
JackStrawData-class

The JackStrawData Class
Angles

Radian/Degree Conversions
DimReduc-validity

Dimensional Reduction Validity
IsMatrixEmpty

Check if a matrix is empty
JackStrawData-methods

JackStrawData Methods
as.Centroids

Convert Segmentation Layers
Loadings

Get and set feature loadings
MatchCells

Match Cells
dim.Assay5

Feature and Cell Numbers
Graph-class

The Graph Class
dim.DimReduc

Dimensional Reduction Meta-Information
LogMap

A Logical Map
Misc-StdAssay

Get and set miscellaneous data
.Contains

Get Parent S4 Classes
RenameCells

Rename cells
Idents

Get, set, and manipulate an object's identity classes
IsNamedList

Check List Names
Distances

Get the Neighbor nearest neighbors distance matrix
FetchData

Access cellular data
.CreateStdAssay

Generic Assay Creation
.SelectFeatures

Combine and Select Features
Assays

Query Specific Object Types
RowMergeSparseMatrices

Merge Sparse Matrices by Row
JoinLayers

Split and Join Layers Together
Overlay

Overlay Spatial Objects Over One Another
Segmentation-methods

Segmentation Methods
.SparseSlots

Identify Sparse Slots
FilterObjects

Find Sub-objects of a Certain Class
Key-validity

Key Validity
StdAssay-class

Core Assay Infrastructure
IsSparse

Is a Matrix Sparse
Misc

Get and set miscellaneous data
WhichCells

Identify cells matching certain criteria
Seurat-class

The Seurat Class
Simplify

Simplify Geometry
SparseEmptyMatrix

Generate empty dgC sparse matrix
UpdateSlots

Update slots in an object
VariableFeatures-StdAssay

Highly Variable Features
Molecules-methods

Molecules Methods
aggregate

Aggregate Molecules into an Expression Matrix
.ClassPkg

Get the Package that Defines a Class
as.Graph

Coerce to a Graph Object
Index

Get Neighbor algorithm index
Neighbor-class

The Neighbor class
as.Neighbor

Coerce to a Neighbor Object
reexports

Objects exported from other packages
Neighbor-methods

Neighbor Methods
$.StdAssay

Layer Data
.Collections

Identify Object Collections
LogMap-validity

Logical Map Validity
LogSeuratCommand

Log a command
Project

Get and set project information
RenameAssays

Rename assays in a Seurat object
Molecules-class

The Spatial Molecules Class
s4list

S4/List Conversion
colMeans,Assay-method

Row and Column Sums and Means
RenameCells-StdAssay

Rename cells
.DollarNames.Assay5

Dollar-sign Autocompletion
SeuratObject-options

Seurat Options
Radius

Get the spot radius from an image
show,StdAssay-method

V5 Assay Overview
RandomName

Generate a random name
RegisterSparseMatrix

Register Sparse Matrix Classes
.DollarNames.Seurat

Dollar-sign Autocompletion
.AssayClass

Assay Class Label
Seurat-validity

Seurat Object Validity
SeuratCommand-class

The SeuratCommand Class
SeuratObject-package

SeuratObject: Data Structures for Single Cell Data
.BPMatrixMode

BPCells Matrix Mode
.FilterObjects

Find Subobjects Of A Certain Class
show,seurat-method

Old Seurat Object Overview
.FindObject

Find A Subobject
.KeyPattern

Regex Pattern for Keys
StdAssay-validity

V5 Assay Validity
HVFInfo

Highly Variable Features
Stdev

Get the standard deviations for an object
[.Assay

Layer Data
SaveSeuratRds

Save and Load Seurat Objects from Rds files
Version

Get Version Information
Segmentation-class

The Segmentation Class
[.Assay5

Layer Data
SpatialImage-class

The SpatialImage class
as.matrix.LogMap

Coerce Logical Maps to Matrices
StitchMatrix

Stitch Matrices Together
.MARGIN

Get the Margin of an Object
merge.StdAssay

Merge Assays
[[.DimReduc

Get Cell Embeddings
names.Seurat

Subobject Names
as.sparse

Cast to Sparse
merge.Assay

Merge Assays
merge.Assay5

Merge Assays
show,Seurat-method

Seurat Object Overview
colMeans,Seurat-method

Row and Column Sums and Means
SpatialImage-methods

SpatialImage methods
$.Assay

Layer Data
dim.Assay

Feature and Cell Numbers
Theta

Get the offset angle
dimnames.Seurat

Feature and Cell Names
[[.Seurat

Subobjects and Cell-Level Meta Data
pbmc_small

A small example version of the PBMC dataset
print.DimReduc

Print Top Feature Loadings
dimnames.StdAssay

Assay-Level Feature and Cell Names
show,SeuratCommand-method

Command Log Overview
as.Seurat

Coerce to a Seurat Object
.DefaultFOV

Find the Default FOV
[[.StdAssay

Feature-Level Meta Data
[.DimReduc

Get Feature Loadings
[[,LogMap,integer,missing-method

LogMap Interaction Methods
[.SeuratCommand

Command Log Data Access
.Deprecate

Deprecate Functions and Arguments
$.Assay5

Layer Data
as.list.SeuratCommand

Coerce a SeuratCommand to a list
$.Seurat

Cell-Level Meta Data
$.SeuratCommand

Command Log Parameter Access
subset.Seurat

Subset Seurat Objects
.FileMove

Move Files and Directories
subset.StdAssay

Subset an Assay
dim.Seurat

Feature and Cell Numbers
.FilePath

Find a File Path
.CalcN

Calculate nCount and nFeature
dim.StdAssay

Feature and Cell Numbers
.CheckFmargin

Check Feature Margin
intersect.LogMap

Find Common Logical Map Values
labels.LogMap

Find Observations by Value
.DollarNames.SeuratCommand

Dollar-sign Autocompletion
split.Assay

Split an Assay
.DollarNames.StdAssay

Dollar-sign Autocompletion
.PropagateList

Propagate a List
split.Assay5

Split an Assay
split.Seurat

Split an Assay
dimnames.Assay

Assay-Level Feature and Cell Names
dimnames.Assay5

Assay-Level Feature and Cell Names
.DiskLoad

Disk Loading Function
.DollarNames.Assay

Dollar-sign Autocompletion
.RandomKey

Generate a Random Key
.GetMethod

Get a Method
.Subobjects

Get the Subobject Names
droplevels.LogMap

Drop Unused Logical Map Values
.IsFutureSeurat

Test Future Compatibility with Seurat
set-if-na

Set If or If Not NA
split.StdAssay

Split an Assay
set-if-null

Set If or If Not NULL
merge.DimReduc

Merge Dimensional Reductions
subset.Assay5

Subset an Assay
show,Assay-method

V3 Assay Overview
show,DimReduc-method

Dimensional Reduction Overview
subset.DimReduc

Subset a Dimensional Reduction
merge.Seurat

Merge Seurat Objects
[.StdAssay

Layer Data
old-assign

Original double-bracket assign
show,Graph-method

Graph Object Overview
seurat-class

The Seurat Class
show,LogMap-method

LogMap Object Overview
[[.Assay

Feature-Level Meta Data
[[.Assay5

Feature-Level Meta Data
[,LogMap

Matrix-like Subsetting for Logical Maps
[[<-,Seurat,NULL

Remove Subobjects and Cell-Level Meta Data
[[<-,Seurat

Add Subobjects
[[<-,Seurat,character,missing,StdAssay-method

Add Subobjects
subset.Assay

Subset an Assay
v5-assay-summaries

V5 Assay Summaries
AddMetaData-StdAssay

Add in metadata associated with either cells or features.
AssayData

Get and Set Assay Data