Learn R Programming

⚠️There's a newer version (5.0.3) 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

44,926

Version

5.0.1

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Last Published

November 17th, 2023

Functions in Seurat (5.0.1)

CaseMatch

Match the case of character vectors
CellCycleScoring

Score cell cycle phases
BridgeReferenceSet-class

The BridgeReferenceSet Class The BridgeReferenceSet is an output from PrepareBridgeReference
CustomDistance

Run a custom distance function on an input data matrix
CellScatter

Cell-cell scatter plot
CreateSCTAssayObject

Create a SCT Assay object
CellSelector

Cell Selector
DimPlot

Dimensional reduction plot
DimHeatmap

Dimensional reduction heatmap
CountSketch

Generate CountSketch random matrix
CollapseSpeciesExpressionMatrix

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

Plot the Barcode Distribution and Calculated Inflection Points
CollapseEmbeddingOutliers

Move outliers towards center on dimension reduction plot
CreateCategoryMatrix

Create one hot matrix for a given label
DietSeurat

Slim down a Seurat object
DiscretePalette

Discrete colour palettes from pals
DISP

Find variable features based on dispersion
DimReduc-class

The DimReduc Class
ElbowPlot

Quickly Pick Relevant Dimensions
ExpMean

Calculate the mean of logged values
FastRPCAIntegration

Perform integration on the joint PCA cell embeddings.
ExpSD

Calculate the standard deviation of logged values
DEenrichRPlot

DE and EnrichR pathway visualization barplot
ColorDimSplit

Color dimensional reduction plot by tree split
CombinePlots

Combine ggplot2-based plots into a single plot
BlackAndWhite

Create a custom color palette
FetchResiduals

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

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

Scale and/or center matrix rowwise
FetchResiduals_reference

temporal function to get residuals from reference
FilterSlideSeq

Filter stray beads from Slide-seq puck
Cells.SCTModel

Get Cell Names
CalcDispersion

Calculate dispersion of features
CellsByImage

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

Visualize 'features' on a dimensional reduction plot
ExpVar

Calculate the variance of logged values
FeatureScatter

Scatter plot of single cell data
FindAllMarkers

Gene expression markers for all identity classes
FindBridgeAnchor

Find bridge anchors between two unimodal datasets
DotPlot

Dot plot visualization
DoHeatmap

Feature expression heatmap
FindBridgeIntegrationAnchors

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

Find bridge anchors between query and extended bridge-reference
FindVariableFeatures

Find variable features
FindTransferAnchors

Find transfer anchors
FindIntegrationAnchors

Find integration anchors
GroupCorrelation

Compute the correlation of features broken down by groups with another covariate
FindMarkers

Gene expression markers of identity classes
Graph-class

The Graph Class
FindSubCluster

Find subclusters under one cluster
FindSpatiallyVariableFeatures

Find spatially variable features
GetTissueCoordinates.SlideSeq

Get Tissue Coordinates
GetTransferPredictions

Get the predicted identity
GroupCorrelationPlot

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

Get Image Data
GetAssay

Get an Assay object from a given Seurat object.
HarmonyIntegration

Harmony Integration
HoverLocator

Hover Locator
FindMultiModalNeighbors

Construct weighted nearest neighbor graph
HVFInfo.SCTAssay

Get Variable Feature Information
FindNeighbors

(Shared) Nearest-neighbor graph construction
FindClusters

Cluster Determination
FoldChange

Fold Change
GaussianSketch

Gaussian sketching
IntegrationAnchorSet-class

The IntegrationAnchorSet Class
IntegrationData-class

The IntegrationData Class
HTOHeatmap

Hashtag oligo heatmap
JackStrawPlot

JackStraw Plot
GetResidual

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

Get integration data
HTODemux

Demultiplex samples based on data from cell 'hashing'
IntegrateEmbeddings

Integrate low dimensional embeddings
IFeaturePlot

Visualize features in dimensional reduction space interactively
FindConservedMarkers

Finds markers that are conserved between the groups
ISpatialDimPlot

Visualize clusters spatially and interactively
JackStraw

Determine statistical significance of PCA scores.
JackStrawData-class

The JackStrawData Class
LogVMR

Calculate the variance to mean ratio of logged values
MinMax

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

Seurat-Joint PCA Integration
L2CCA

L2-Normalize CCA
L2Dim

L2-normalization
LeverageScore

Leverage Score Calculation
LoadCurioSeeker

Load Curio Seeker data
ImageFeaturePlot

Spatial Feature Plots
IntegrateData

Integrate data
IntegrateLayers

Integrate Layers
LoadSTARmap

Load STARmap data
LinkedPlots

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

Convert Neighbor class to an asymmetrical Graph class
ModalityWeights-class

The ModalityWeights Class
NNPlot

Highlight Neighbors in DimPlot
MULTIseqDemux

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

Visualize features spatially and interactively
ImageDimPlot

Spatial Cluster Plots
LocalStruct

Calculate the local structure preservation metric
LogNormalize

Normalize Raw Data
MixscapeHeatmap

Differential expression heatmap for mixscape
Neighbor-class

The Neighbor Class
PlotClusterTree

Plot clusters as a tree
MixscapeLDA

Linear discriminant analysis on pooled CRISPR screen data.
PlotPerturbScore

Function to plot perturbation score distributions.
PolyDimPlot

Polygon DimPlot
PolyFeaturePlot

Polygon FeaturePlot
LoadAnnoyIndex

Load the Annoy index file
MappingScore

Metric for evaluating mapping success
Load10X_Spatial

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

Aggregate expression of multiple features into a single feature
ProjectData

Project full data to the sketch assay
ProjectDim

Project Dimensional reduction onto full dataset
ProjectUMAP

Project query into UMAP coordinates of a reference
MapQuery

Map query cells to a reference
PercentageFeatureSet

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

Find variable features based on mean.var.plot
LabelClusters

Label clusters on a ggplot2-based scatter plot
LabelPoints

Add text labels to a ggplot2 plot
PercentAbove

Calculate the percentage of a vector above some threshold
ReadNanostring

Read and Load Nanostring SMI data
Radius.SlideSeq

Get Spot Radius
RPCAIntegration

Seurat-RPCA Integration
PseudobulkExpression

Pseudobulk Expression
ReadSTARsolo

Read output from STARsolo
ReadSlideSeq

Load Slide-seq spatial data
NormalizeData

Normalize Data
MixingMetric

Calculates a mixing metric
PCASigGenes

Significant genes from a PCA
PredictAssay

Predict value from nearest neighbors
PrepLDA

Function to prepare data for Linear Discriminant Analysis.
PrepSCTFindMarkers

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

Run Graph Laplacian Eigendecomposition
RelativeCounts

Normalize raw data to fractions
RenameCells.SCTAssay

Rename Cells in an Object
ReadParseBio

Read output from Parse Biosciences
Read10X_probe_metadata

Read10x Probe Metadata
ProjectCellEmbeddings

Project query data to the reference dimensional reduction
RidgePlot

Single cell ridge plot
Read10X_h5

Read 10X hdf5 file
PrepSCTIntegration

Prepare an object list normalized with sctransform for integration.
PrepareBridgeReference

Prepare the bridge and reference datasets
ProjectIntegration

Integrate embeddings from the integrated sketched.assay
ProjectDimReduc

Project query data to reference dimensional reduction
RunMarkVario

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

Run Linear Discriminant Analysis
ReadVizgen

Read and Load MERFISH Input from Vizgen
ReadVitessce

Read Data From Vitessce
Read10X

Load in data from 10X
RunPCA

Run Principal Component Analysis
RegroupIdents

Regroup idents based on meta.data info
RunICA

Run Independent Component Analysis on gene expression
SCTResults

Get SCT results from an Assay
SCTransform

Perform sctransform-based normalization
RunTSNE

Run t-distributed Stochastic Neighbor Embedding
RunSPCA

Run Supervised Principal Component Analysis
ScaleFactors

Get image scale factors
ScoreJackStraw

Compute Jackstraw scores significance.
SelectIntegrationFeatures5

Select integration features
ReadAkoya

Read and Load Akoya CODEX data
ReadMtx

Load in data from remote or local mtx files
SelectIntegrationFeatures

Select integration features
SingleImageMap

STARmap-class

The STARmap class
RunCCA

Perform Canonical Correlation Analysis
RunMixscape

Run Mixscape
SampleUMI

Sample UMI
RunMoransI

Compute Moran's I value.
SingleImagePlot

Single Spatial Plot
SaveAnnoyIndex

Save the Annoy index
RunSLSI

Run Supervised Latent Semantic Indexing
TopFeatures

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

Find cells with highest scores for a given dimensional reduction technique
ScaleData

Scale and center the data.
SetQuantile

Find the Quantile of Data
Seurat-package

Seurat: Tools for Single Cell Genomics
Read10X_Image

Load a 10X Genomics Visium Image
SingleRasterMap

A single heatmap from ggplot2 using geom_raster
LoadXenium

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

Run UMAP
Seurat-class

The Seurat Class
SCTAssay-class

The SCTModel Class
TransferData

Transfer data
SpatialImage-class

The SpatialImage Class
SpatialPlot

Visualize spatial clustering and expression data.
UpdateSymbolList

Get updated synonyms for gene symbols
VizDimLoadings

Visualize Dimensional Reduction genes
VST

Variance Stabilizing Transformation
VlnPlot

Single cell violin plot
SketchData

Sketch Data
SeuratCommand-class

The SeuratCommand Class
SetIntegrationData

Set integration data
SelectSCTIntegrationFeatures

Select SCT integration features
SingleDimPlot

Plot a single dimension
as.SingleCellExperiment

Convert objects to SingleCellExperiment objects
TransferSketchLabels

Transfer data from sketch data to full data
as.sparse.H5Group

Cast to Sparse
TopNeighbors

Get nearest neighbors for given cell
merge.SCTAssay

Merge SCTAssay objects
TransferAnchorSet-class

The TransferAnchorSet Class
reexports

Objects exported from other packages
SeuratTheme

Seurat Themes
SingleCorPlot

A single correlation plot
UnSketchEmbeddings

Transfer embeddings from sketched cells to the full data
as.Seurat.CellDataSet

Convert objects to Seurat 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
SingleSpatialPlot

Base plotting function for all Spatial plots
SplitObject

Splits object into a list of subsetted objects.
contrast-theory

Get the intensity and/or luminance of a color
as.CellDataSet

Convert objects to CellDataSet objects
VariableFeaturePlot

View variable features
SingleExIPlot

Plot a single expression by identity on a plot
VisiumV1-class

The VisiumV1 class
subset.AnchorSet

Subset an AnchorSet object
SlideSeq-class

The SlideSeq class
fortify-Spatial

Prepare Coordinates for Spatial Plots
cc.genes

Cell cycle genes
cc.genes.updated.2019

Cell cycle genes: 2019 update
writing-integration

Writing Integration Method Functions
AnchorSet-class

The AnchorSet Class
AddAzimuthScores

Add Azimuth Scores
AverageExpression

Averaged feature expression by identity class
AddAzimuthResults

Add Azimuth Results
AutoPointSize

Automagically calculate a point size for ggplot2-based scatter plots
AnnotateAnchors

Add info to anchor matrix
AddModuleScore

Calculate module scores for feature expression programs in single cells
AugmentPlot

Augments ggplot2-based plot with a PNG image.
AggregateExpression

Aggregated feature expression by identity class
Assay-class

The Assay Class
CalcPerturbSig

Calculate a perturbation Signature
BGTextColor

Determine text color based on background color
BuildNicheAssay

Construct an assay for spatial niche analysis
BuildClusterTree

Phylogenetic Analysis of Identity Classes
CCAIntegration

Seurat-CCA Integration
CalculateBarcodeInflections

Calculate the Barcode Distribution Inflection
BridgeCellsRepresentation

Construct a dictionary representation for each unimodal dataset