Learn R Programming

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

Seurat v4.1

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

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

58,682

Version

4.1.0

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Paul Hoffman

Last Published

January 14th, 2022

Functions in Seurat (4.1.0)

AddModuleScore

Calculate module scores for feature expression programs in single cells
Assay-class

The Assay Class
AnchorSet-class

The AnchorSet Class
AddAzimuthResults

Add Azimuth Results
AutoPointSize

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

Averaged feature expression by identity class
AugmentPlot

Augments ggplot2-based plot with a PNG image.
AnnotateAnchors

Add info to anchor matrix
AddAzimuthScores

Add Azimuth Scores
CalculateBarcodeInflections

Calculate the Barcode Distribution Inflection
CellCycleScoring

Score cell cycle phases
CreateSCTAssayObject

Create a SCT Assay object
DimPlot

Dimensional reduction plot
CombinePlots

Combine ggplot2-based plots into a single plot
DimHeatmap

Dimensional reduction heatmap
Cells.SCTModel

Get Cell Names
AggregateExpression

Aggregated feature expression by identity class
DotPlot

Dot plot visualization
DoHeatmap

Feature expression heatmap
CellSelector

Cell Selector
BuildClusterTree

Phylogenetic Analysis of Identity Classes
DEenrichRPlot

DE and EnrichR pathway visualization barplot
CaseMatch

Match the case of character vectors
FeatureScatter

Scatter plot of single cell data
CalcPerturbSig

Calculate a perturbation Signature
BarcodeInflectionsPlot

Plot the Barcode Distribution and Calculated Inflection Points
BGTextColor

Determine text color based on background color
CollapseSpeciesExpressionMatrix

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

Construct weighted nearest neighbor graph
FindMarkers

Gene expression markers of identity classes
CellScatter

Cell-cell scatter plot
FilterSlideSeq

Filter stray beads from Slide-seq puck
CustomDistance

Run a custom distance function on an input data matrix
BlackAndWhite

Create a custom color palette
ExpSD

Calculate the standard deviation of logged values
ExpVar

Calculate the variance of logged values
GetIntegrationData

Get integration data
GetResidual

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

Move outliers towards center on dimension reduction plot
CellsByImage

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

Color dimensional reduction plot by tree split
FindAllMarkers

Gene expression markers for all identity classes
GroupCorrelationPlot

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

Cluster Determination
FindNeighbors

(Shared) Nearest-neighbor graph construction
HTODemux

Demultiplex samples based on data from cell 'hashing'
DimReduc-class

The DimReduc Class
FindSpatiallyVariableFeatures

Find spatially variable features
ElbowPlot

Quickly Pick Relevant Dimensions
FindConservedMarkers

Finds markers that are conserved between the groups
DiscretePalette

Discrete colour palettes from the pals package
FindVariableFeatures

Find variable features
FoldChange

Fold Change
DietSeurat

Slim down a Seurat object
HoverLocator

Hover Locator
IntegrateData

Integrate data
IFeaturePlot

Visualize features in dimensional reduction space interactively
GetTissueCoordinates.SlideSeq

Get Tissue Coordinates
ExpMean

Calculate the mean of logged values
GetTransferPredictions

Get the predicted identity
GetAssay

Get an Assay object from a given Seurat object.
FindIntegrationAnchors

Find integration anchors
GetImage.SlideSeq

Get Image Data
IntegrationAnchorSet-class

The IntegrationAnchorSet Class
L2Dim

L2-normalization
IntegrationData-class

The IntegrationData Class
Graph-class

The Graph Class
LabelClusters

Label clusters on a ggplot2-based scatter plot
IntegrateEmbeddings

Integrate low dimensional embeddings
JackStrawPlot

JackStraw Plot
GroupCorrelation

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

Add text labels to a ggplot2 plot
LinkedPlots

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

Map query cells to a reference
L2CCA

L2-Normalize CCA
MULTIseqDemux

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

Normalize raw data
Neighbor-class

The Neighbor Class
LogVMR

Calculate the variance to mean ratio of logged values
NormalizeData

Normalize Data
PlotPerturbScore

Function to plot perturbation score distributions.
FeaturePlot

Visualize 'features' on a dimensional reduction plot
FastRowScale

Scale and/or center matrix rowwise
Read10X_h5

Read 10X hdf5 file
FindSubCluster

Find subclusters under one cluster
HTOHeatmap

Hashtag oligo heatmap
ISpatialFeaturePlot

Visualize features spatially and interactively
HVFInfo.SCTAssay

Get Variable Feature Information
ISpatialDimPlot

Visualize clusters spatially and interactively
MixscapeHeatmap

Differential expression heatmap for mixscape
PolyDimPlot

Polygon DimPlot
MixscapeLDA

Linear discriminant analysis on pooled CRISPR screen data.
LoadSTARmap

Load STARmap data
ReadSlideSeq

Load Slide-seq spatial data
ModalityWeights-class

The ModalityWeights Class
Radius.SlideSeq

Get Spot Radius
ProjectUMAP

Project query into UMAP coordinates of a reference
FindTransferAnchors

Find transfer anchors
NNPlot

Highlight Neighbors in DimPlot
JackStraw

Determine statistical significance of PCA scores.
PolyFeaturePlot

Polygon FeaturePlot
LocalStruct

Calculate the local structure preservation metric
ReadMtx

Load in data from remote or local mtx files
RelativeCounts

Normalize raw data to fractions
JackStrawData-class

The JackStrawData Class
ReadParseBio

Read output from Parse Biosciences
LoadAnnoyIndex

Load the Annoy index file
Load10X_Spatial

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

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

Read output from STARsolo
RunMoransI

Compute Moran's I value.
RunPCA

Run Principal Component Analysis
RenameCells.SCTAssay

Rename Cells in an Object
ScaleData

Scale and center the data.
ScaleFactors

Get image scale factors
MixingMetric

Calculates a mixing metric
RunMarkVario

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

Predict value from nearest neighbors
SingleExIPlot

Plot a single expression by identity on a plot
RegroupIdents

Regroup idents based on meta.data info
SingleImageMap

contrast-theory

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

The TransferAnchorSet Class
VariableFeaturePlot

View variable features
TransferData

Transfer data
VisiumV1-class

The VisiumV1 class
RunMixscape

Run Mixscape
RunSPCA

Run Supervised Principal Component Analysis
RunSLSI

Run Supervised Latent Semantic Indexing
SCTransform

Use regularized negative binomial regression to normalize UMI count data
MappingScore

Metric for evaluating mapping success
PrepLDA

Function to prepare data for Linear Discriminant Analysis.
merge.SCTAssay

Merge SCTAssay objects
PercentAbove

Calculate the percentage of a vector above some threshold
Read10X_Image

Load a 10X Genomics Visium Image
PCASigGenes

Significant genes from a PCA
Read10X

Load in data from 10X
RunICA

Run Independent Component Analysis on gene expression
MetaFeature

Aggregate expression of multiple features into a single feature
STARmap-class

The STARmap class
RidgePlot

Single cell ridge plot
PrepSCTFindMarkers

Prepare object to run differential expression on SCT assay with multiple models
SeuratCommand-class

The SeuratCommand Class
SeuratTheme

Seurat Themes
TopNeighbors

Get nearest neighbors for given cell
TopFeatures

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

Run Linear Discriminant Analysis
SCTAssay-class

The SCTModel Class
PercentageFeatureSet

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

Plot clusters as a tree
RunTSNE

Run t-distributed Stochastic Neighbor Embedding
RunCCA

Perform Canonical Correlation Analysis
ScoreJackStraw

Compute Jackstraw scores significance.
PrepSCTIntegration

Prepare an object list normalized with sctransform for integration.
ProjectDim

Project Dimensional reduction onto full dataset
SpatialPlot

Visualize spatial clustering and expression data.
SplitObject

Splits object into a list of subsetted objects.
SelectIntegrationFeatures

Select integration features
UpdateSymbolList

Get updated synonyms for gene symbols
UpdateSCTAssays

Update pre-V4 Assays generated with SCTransform in the Seurat to the new SCTAssay class
cc.genes

Cell cycle genes
SCTResults

Get SCT results from an Assay
cc.genes.updated.2019

Cell cycle genes: 2019 update
SingleRasterMap

A single heatmap from ggplot2 using geom_raster
SampleUMI

Sample UMI
SetQuantile

Find the Quantile of Data
RunUMAP

Run UMAP
SetIntegrationData

Set integration data
Seurat-class

The Seurat Class
SingleSpatialPlot

Base plotting function for all Spatial plots
TopCells

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

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

Visualize Dimensional Reduction genes
VlnPlot

Single cell violin plot
SaveAnnoyIndex

Save the Annoy index
SingleCorPlot

A single correlation plot
SingleDimPlot

Plot a single dimension
Seurat-package

Seurat: Tools for Single Cell Genomics
SlideSeq-class

The SlideSeq class
as.CellDataSet

Convert objects to CellDataSet objects
as.Seurat.CellDataSet

Convert objects to Seurat objects
SpatialImage-class

The SpatialImage Class
reexports

Objects exported from other packages
subset.AnchorSet

Subset an AnchorSet object
as.SingleCellExperiment

Convert objects to SingleCellExperiment objects
as.sparse.H5Group

Cast to Sparse