Free Access Week - Data Engineering + BI
Data Engineering and BI courses are free this week!
Free Access Week - Jun 2-8

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

Seurat v5

Seurat is an R toolkit for single cell genomics, developed and maintained by the Satija Lab at NYGC.

We are excited to release Seurat v5! This updates introduces new functionality for spatial, multimodal, and scalable single-cell analysis.

Seurat v5 is backwards-compatible with previous versions, so that users will continue to be able to re-run existing workflows.

Instructions, documentation, and tutorials can be found at:

Seurat is also hosted on GitHub, you can view and clone the repository at

Seurat has been successfully installed on Mac OS X, Linux, and Windows, using the devtools package to install directly from GitHub

Improvements and new features will be added on a regular basis, please post on the github page with any questions or if you would like to contribute

For a version history/changelog, please see the NEWS file.

Copy Link

Version

Install

install.packages('Seurat')

Monthly Downloads

63,510

Version

5.0.0

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Paul Hoffman

Last Published

November 4th, 2023

Functions in Seurat (5.0.0)

CellSelector

Cell Selector
CollapseSpeciesExpressionMatrix

Slim down a multi-species expression matrix, when only one species is primarily of interenst.
FastRPCAIntegration

Perform integration on the joint PCA cell embeddings.
CollapseEmbeddingOutliers

Move outliers towards center on dimension reduction plot
CalcDispersion

Calculate dispersion of features
FastRowScale

Scale and/or center matrix rowwise
FeaturePlot

Visualize 'features' on a dimensional reduction plot
FeatureScatter

Scatter plot of single cell data
CombinePlots

Combine ggplot2-based plots into a single plot
DimHeatmap

Dimensional reduction heatmap
DimPlot

Dimensional reduction plot
CreateSCTAssayObject

Create a SCT Assay object
AverageExpression

Averaged feature expression by identity class
BlackAndWhite

Create a custom color palette
BuildClusterTree

Phylogenetic Analysis of Identity Classes
Cells.SCTModel

Get Cell Names
BuildNicheAssay

Construct an assay for spatial niche analysis
DEenrichRPlot

DE and EnrichR pathway visualization barplot
DoHeatmap

Feature expression heatmap
FetchResidualSCTModel

Calculate pearson residuals of features not in the scale.data This function is the secondary function under FetchResiduals
FetchResiduals

Calculate pearson residuals of features not in the scale.data
CellsByImage

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

Dot plot visualization
CustomDistance

Run a custom distance function on an input data matrix
FindConservedMarkers

Finds markers that are conserved between the groups
FindClusters

Cluster Determination
GetIntegrationData

Get integration data
FindIntegrationAnchors

Find integration anchors
GetResidual

Calculate pearson residuals of features not in the scale.data
FindMarkers

Gene expression markers of identity classes
AddModuleScore

Calculate module scores for feature expression programs in single cells
FindMultiModalNeighbors

Construct weighted nearest neighbor graph
GetAssay

Get an Assay object from a given Seurat object.
FindNeighbors

(Shared) Nearest-neighbor graph construction
GetImage.SlideSeq

Get Image Data
AggregateExpression

Aggregated feature expression by identity class
HarmonyIntegration

Harmony Integration
JackStrawPlot

JackStraw Plot
HoverLocator

Hover Locator
JointPCAIntegration

Seurat-Joint PCA Integration
L2CCA

L2-Normalize CCA
LocalStruct

Calculate the local structure preservation metric
L2Dim

L2-normalization
MapQuery

Map query cells to a reference
ISpatialDimPlot

Visualize clusters spatially and interactively
LabelClusters

Label clusters on a ggplot2-based scatter plot
MVP

Find variable features based on mean.var.plot
IFeaturePlot

Visualize features in dimensional reduction space interactively
LabelPoints

Add text labels to a ggplot2 plot
ExpSD

Calculate the standard deviation of logged values
CaseMatch

Match the case of character vectors
DISP

Find variable features based on dispersion
BGTextColor

Determine text color based on background color
BarcodeInflectionsPlot

Plot the Barcode Distribution and Calculated Inflection Points
DietSeurat

Slim down a Seurat object
CellCycleScoring

Score cell cycle phases
DimReduc-class

The DimReduc Class
DiscretePalette

Discrete colour palettes from pals
GetTissueCoordinates.SlideSeq

Get Tissue Coordinates
GetTransferPredictions

Get the predicted identity
ModalityWeights-class

The ModalityWeights Class
FindAllMarkers

Gene expression markers for all identity classes
FindVariableFeatures

Find variable features
FindBridgeAnchor

Find bridge anchors between two unimodal datasets
FindTransferAnchors

Find transfer anchors
LogNormalize

Normalize Raw Data
JackStrawData-class

The JackStrawData Class
JackStraw

Determine statistical significance of PCA scores.
ProjectDimReduc

Project query data to reference dimensional reduction
NNPlot

Highlight Neighbors in DimPlot
PlotPerturbScore

Function to plot perturbation score distributions.
Read10X_h5

Read 10X hdf5 file
PlotClusterTree

Plot clusters as a tree
ProjectIntegration

Integrate embeddings from the integrated sketched.assay
ExpVar

Calculate the variance of logged values
Read10X_probe_metadata

Read10x Probe Metadata
CountSketch

Generate CountSketch random matrix
RenameCells.SCTAssay

Rename Cells in an Object
RelativeCounts

Normalize raw data to fractions
FindBridgeIntegrationAnchors

Find integration bridge anchors between query and extended bridge-reference
FoldChange

Fold Change
IntegrationAnchorSet-class

The IntegrationAnchorSet Class
GroupCorrelationPlot

Boxplot of correlation of a variable (e.g. number of UMIs) with expression data
GaussianSketch

Gaussian sketching
FindBridgeTransferAnchors

Find bridge anchors between query and extended bridge-reference
HTODemux

Demultiplex samples based on data from cell 'hashing'
PercentAbove

Calculate the percentage of a vector above some threshold
SCTResults

Get SCT results from an Assay
SaveAnnoyIndex

Save the Annoy index
SCTransform

Perform sctransform-based normalization
PercentageFeatureSet

Calculate the percentage of all counts that belong to a given set of features
PrepSCTFindMarkers

Prepare object to run differential expression on SCT assay with multiple models
PrepSCTIntegration

Prepare an object list normalized with sctransform for integration.
CreateCategoryMatrix

Create one hot matrix for a given label
FindSpatiallyVariableFeatures

Find spatially variable features
ProjectData

Project full data to the sketch assay
ScaleData

Scale and center the data.
LoadSTARmap

Load STARmap data
Seurat-class

The Seurat Class
LoadCurioSeeker

Load Curio Seeker data
SetQuantile

Find the Quantile of Data
SpatialImage-class

The SpatialImage Class
RunMarkVario

Run the mark variogram computation on a given position matrix and expression matrix.
RunLDA

Run Linear Discriminant Analysis
ProjectDim

Project Dimensional reduction onto full dataset
ReadAkoya

Read and Load Akoya CODEX data
ScoreJackStraw

Compute Jackstraw scores significance.
ScaleFactors

Get image scale factors
ReadMtx

Load in data from remote or local mtx files
IntegrationData-class

The IntegrationData Class
SingleDimPlot

Plot a single dimension
SpatialPlot

Visualize spatial clustering and expression data.
MetaFeature

Aggregate expression of multiple features into a single feature
NNtoGraph

Convert Neighbor class to an asymmetrical Graph class
MappingScore

Metric for evaluating mapping success
SingleExIPlot

Plot a single expression by identity on a plot
SingleRasterMap

A single heatmap from ggplot2 using geom_raster
TopNeighbors

Get nearest neighbors for given cell
TransferAnchorSet-class

The TransferAnchorSet Class
ElbowPlot

Quickly Pick Relevant Dimensions
FindSubCluster

Find subclusters under one cluster
GroupCorrelation

Compute the correlation of features broken down by groups with another covariate
Graph-class

The Graph Class
merge.SCTAssay

Merge SCTAssay objects
VizDimLoadings

Visualize Dimensional Reduction genes
fortify-Spatial

Prepare Coordinates for Spatial Plots
contrast-theory

Get the intensity and/or luminance of a color
Neighbor-class

The Neighbor Class
Read10X

Load in data from 10X
SingleSpatialPlot

Base plotting function for all Spatial plots
VlnPlot

Single cell violin plot
VisiumV1-class

The VisiumV1 class
VariableFeaturePlot

View variable features
reexports

Objects exported from other packages
Read10X_Image

Load a 10X Genomics Visium Image
MinMax

Apply a ceiling and floor to all values in a matrix
FetchResiduals_reference

temporal function to get residuals from reference
ExpMean

Calculate the mean of logged values
ISpatialFeaturePlot

Visualize features spatially and interactively
ReadVitessce

Read Data From Vitessce
ReadVizgen

Read and Load MERFISH Input from Vizgen
RidgePlot

Single cell ridge plot
FilterSlideSeq

Filter stray beads from Slide-seq puck
RunPCA

Run Principal Component Analysis
RunCCA

Perform Canonical Correlation Analysis
SampleUMI

Sample UMI
RunSLSI

Run Supervised Latent Semantic Indexing
SeuratTheme

Seurat Themes
STARmap-class

The STARmap class
SketchData

Sketch Data
SingleCorPlot

A single correlation plot
SlideSeq-class

The SlideSeq class
MixingMetric

Calculates a mixing metric
TransferSketchLabels

Transfer data from sketch data to full data
TransferData

Transfer data
HTOHeatmap

Hashtag oligo heatmap
HVFInfo.SCTAssay

Get Variable Feature Information
ImageDimPlot

Spatial Cluster Plots
LeverageScore

Leverage Score Calculation
IntegrateEmbeddings

Integrate low dimensional embeddings
IntegrateLayers

Integrate Layers
ImageFeaturePlot

Spatial Feature Plots
IntegrateData

Integrate data
MULTIseqDemux

Demultiplex samples based on classification method from MULTI-seq (McGinnis et al., bioRxiv 2018)
LinkedPlots

Visualize spatial and clustering (dimensional reduction) data in a linked, interactive framework
PredictAssay

Predict value from nearest neighbors
LogVMR

Calculate the variance to mean ratio of logged values
MixscapeHeatmap

Differential expression heatmap for mixscape
MixscapeLDA

Linear discriminant analysis on pooled CRISPR screen data.
PolyDimPlot

Polygon DimPlot
Load10X_Spatial

Load a 10x Genomics Visium Spatial Experiment into a Seurat object
NormalizeData

Normalize Data
LoadAnnoyIndex

Load the Annoy index file
PCASigGenes

Significant genes from a PCA
PrepLDA

Function to prepare data for Linear Discriminant Analysis.
PolyFeaturePlot

Polygon FeaturePlot
RunMixscape

Run Mixscape
PseudobulkExpression

Pseudobulk Expression
RunICA

Run Independent Component Analysis on gene expression
ProjectUMAP

Project query into UMAP coordinates of a reference
RunGraphLaplacian

Run Graph Laplacian Eigendecomposition
ProjectCellEmbeddings

Project query data to the reference dimensional reduction
PrepareBridgeReference

Prepare the bridge and reference datasets
ReadNanostring

Read and Load Nanostring SMI data
ReadParseBio

Read output from Parse Biosciences
ReadSTARsolo

Read output from STARsolo
SCTAssay-class

The SCTModel Class
RunUMAP

Run UMAP
Radius.SlideSeq

Get Spot Radius
RPCAIntegration

Seurat-RPCA Integration
SingleImagePlot

Single Spatial Plot
SingleImageMap

LoadXenium

Read and Load 10x Genomics Xenium in-situ data
ReadSlideSeq

Load Slide-seq spatial data
cc.genes

Cell cycle genes
cc.genes.updated.2019

Cell cycle genes: 2019 update
RegroupIdents

Regroup idents based on meta.data info
RunMoransI

Compute Moran's I value.
SelectIntegrationFeatures

Select integration features
SelectIntegrationFeatures5

Select integration features
SplitObject

Splits object into a list of subsetted objects.
SubsetByBarcodeInflections

Subset a Seurat Object based on the Barcode Distribution Inflection Points
UpdateSCTAssays

Update pre-V4 Assays generated with SCTransform in the Seurat to the new SCTAssay class
UnSketchEmbeddings

Transfer embeddings from sketched cells to the full data
as.SingleCellExperiment

Convert objects to SingleCellExperiment objects
as.sparse.H5Group

Cast to Sparse
subset.AnchorSet

Subset an AnchorSet object
writing-integration

Writing Integration Method Functions
RunTSNE

Run t-distributed Stochastic Neighbor Embedding
Seurat-package

Seurat: Tools for Single Cell Genomics
SelectSCTIntegrationFeatures

Select SCT integration features
SetIntegrationData

Set integration data
RunSPCA

Run Supervised Principal Component Analysis
SeuratCommand-class

The SeuratCommand Class
TopFeatures

Find features with highest scores for a given dimensional reduction technique
VST

Variance Stabilizing Transformation
UpdateSymbolList

Get updated synonyms for gene symbols
TopCells

Find cells with highest scores for a given dimensional reduction technique
as.CellDataSet

Convert objects to CellDataSet objects
as.Seurat.CellDataSet

Convert objects to Seurat objects
AugmentPlot

Augments ggplot2-based plot with a PNG image.
Assay-class

The Assay Class
AddAzimuthScores

Add Azimuth Scores
AnnotateAnchors

Add info to anchor matrix
AddAzimuthResults

Add Azimuth Results
AutoPointSize

Automagically calculate a point size for ggplot2-based scatter plots
AnchorSet-class

The AnchorSet Class
BridgeCellsRepresentation

Construct a dictionary representation for each unimodal dataset
CalcPerturbSig

Calculate a perturbation Signature
CCAIntegration

Seurat-CCA Integration
CalculateBarcodeInflections

Calculate the Barcode Distribution Inflection
BridgeReferenceSet-class

The BridgeReferenceSet Class The BridgeReferenceSet is an output from PrepareBridgeReference
CellScatter

Cell-cell scatter plot
ColorDimSplit

Color dimensional reduction plot by tree split