Learn R Programming

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

Seurat v4.0

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

68,863

Version

4.0.6

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Paul Hoffman

Last Published

December 16th, 2021

Functions in Seurat (4.0.6)

Assay-class

The Assay Class
AnnotateAnchors

Add info to anchor matrix
AutoPointSize

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

Add Azimuth Results
AddModuleScore

Calculate module scores for feature expression programs in single cells
AddAzimuthScores

Add Azimuth Scores
AverageExpression

Averaged feature expression by identity class
AugmentPlot

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

The AnchorSet Class
AggregateExpression

Aggregated feature expression by identity class
CellSelector

Cell Selector
CalcPerturbSig

Calculate a perturbation Signature
BuildClusterTree

Phylogenetic Analysis of Identity Classes
DEenrichRPlot

DE and EnrichR pathway visualization barplot
CombinePlots

Combine ggplot2-based plots into a single plot
CreateSCTAssayObject

Create a SCT Assay object
DietSeurat

Slim down a Seurat object
CustomDistance

Run a custom distance function on an input data matrix
BlackAndWhite

Create a custom color palette
Cells.SCTModel

Get Cell Names
CellScatter

Cell-cell scatter plot
CellsByImage

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

Score cell cycle phases
DoHeatmap

Feature expression heatmap
ExpVar

Calculate the variance of logged values
CollapseEmbeddingOutliers

Move outliers towards center on dimension reduction plot
ExpSD

Calculate the standard deviation of logged values
DiscretePalette

Discrete colour palettes from the pals package
DimReduc-class

The DimReduc Class
CollapseSpeciesExpressionMatrix

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

Quickly Pick Relevant Dimensions
CalculateBarcodeInflections

Calculate the Barcode Distribution Inflection
ExpMean

Calculate the mean of logged values
CaseMatch

Match the case of character vectors
ColorDimSplit

Color dimensional reduction plot by tree split
BGTextColor

Determine text color based on background color
DimPlot

Dimensional reduction plot
BarcodeInflectionsPlot

Plot the Barcode Distribution and Calculated Inflection Points
DimHeatmap

Dimensional reduction heatmap
FeatureScatter

Scatter plot of single cell data
FindIntegrationAnchors

Find integration anchors
FindConservedMarkers

Finds markers that are conserved between the groups
FindSubCluster

Find subclusters under one cluster
FindMultiModalNeighbors

Construct weighted nearest neighbor graph
FindTransferAnchors

Find transfer anchors
FindAllMarkers

Gene expression markers for all identity classes
DotPlot

Dot plot visualization
FindClusters

Cluster Determination
FindMarkers

Gene expression markers of identity classes
GetIntegrationData

Get integration data
GetResidual

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

Hashtag oligo heatmap
Graph-class

The Graph Class
FastRowScale

Scale and/or center matrix rowwise
HTODemux

Demultiplex samples based on data from cell 'hashing'
GroupCorrelationPlot

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

Get an Assay object from a given Seurat object.
FeaturePlot

Visualize 'features' on a dimensional reduction plot
Load10X_Spatial

Load a 10x Genomics Visium Spatial Experiment into a Seurat object
IntegrationAnchorSet-class

The IntegrationAnchorSet Class
IntegrationData-class

The IntegrationData Class
GroupCorrelation

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

Filter stray beads from Slide-seq puck
FindVariableFeatures

Find variable features
FoldChange

Fold Change
FindNeighbors

(Shared) Nearest-neighbor graph construction
GetTissueCoordinates.SlideSeq

Get Tissue Coordinates
LoadSTARmap

Load STARmap data
MappingScore

Metric for evaluating mapping success
LocalStruct

Calculate the local structure preservation metric
GetTransferPredictions

Get the predicted identity
MetaFeature

Aggregate expression of multiple features into a single feature
IntegrateData

Integrate data
LabelPoints

Add text labels to a ggplot2 plot
HVFInfo.SCTAssay

Get Variable Feature Information
IntegrateEmbeddings

Integrate low dimensional embeddings
LinkedPlots

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

Function to plot perturbation score distributions.
JackStrawPlot

JackStraw Plot
GetImage.SlideSeq

Get Image Data
L2CCA

L2-Normalize CCA
PolyDimPlot

Polygon DimPlot
ModalityWeights-class

The ModalityWeights Class
Read10X_Image

Load a 10X Genomics Visium Image
NNPlot

Highlight Neighbors in DimPlot
LoadAnnoyIndex

Load the Annoy index file
MinMax

Apply a ceiling and floor to all values in a matrix
Radius.SlideSeq

Get Spot Radius
PercentageFeatureSet

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

Calculates a mixing metric
PlotClusterTree

Plot clusters as a tree
Read10X_h5

Read 10X hdf5 file
ReadSlideSeq

Load Slide-seq spatial data
ReadSTARsolo

Read output from STARsolo
L2Dim

L2-normalization
MULTIseqDemux

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

The Neighbor Class
JackStraw

Determine statistical significance of PCA scores.
MapQuery

Map query cells to a reference
LabelClusters

Label clusters on a ggplot2-based scatter plot
JackStrawData-class

The JackStrawData Class
Read10X

Load in data from 10X
ReadMtx

Load in data from remote or local mtx files
ReadParseBio

Read output from Parse Biosciences
NormalizeData

Normalize Data
RunMarkVario

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

Compute Moran's I value.
RunMixscape

Run Mixscape
RunLDA

Run Linear Discriminant Analysis
PercentAbove

Calculate the percentage of a vector above some threshold
ProjectUMAP

Project query into UMAP coordinates of a reference
PCASigGenes

Significant genes from a PCA
RunCCA

Perform Canonical Correlation Analysis
ProjectDim

Project Dimensional reduction onto full dataset
RunPCA

Run Principal Component Analysis
RenameCells.SCTAssay

Rename Cells in an Object
RunUMAP

Run UMAP
SelectIntegrationFeatures

Select integration features
SCTAssay-class

The SCTModel Class
RunICA

Run Independent Component Analysis on gene expression
ScaleData

Scale and center the data.
SaveAnnoyIndex

Save the Annoy index
SampleUMI

Sample UMI
RunSLSI

Run Supervised Latent Semantic Indexing
SingleRasterMap

A single heatmap from ggplot2 using geom_raster
STARmap-class

The STARmap class
FindSpatiallyVariableFeatures

Find spatially variable features
HoverLocator

Hover Locator
SingleImageMap

SetQuantile

Find the Quantile of Data
ISpatialDimPlot

Visualize clusters spatially and interactively
IFeaturePlot

Visualize features in dimensional reduction space interactively
ISpatialFeaturePlot

Visualize features spatially and interactively
Seurat-package

Seurat: Tools for Single Cell Genomics
SetIntegrationData

Set integration data
SeuratCommand-class

The SeuratCommand Class
Seurat-class

The Seurat Class
SeuratTheme

Seurat Themes
SplitObject

Splits object into a list of subsetted objects.
as.SingleCellExperiment

Convert objects to SingleCellExperiment objects
as.Seurat.CellDataSet

Convert objects to Seurat objects
TopCells

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

Single cell violin plot
TopFeatures

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

Convert objects to CellDataSet objects
cc.genes.updated.2019

Cell cycle genes: 2019 update
UpdateSymbolList

Get updated synonyms for gene symbols
contrast-theory

Get the intensity and/or luminance of a color
SubsetByBarcodeInflections

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

View variable features
SingleCorPlot

A single correlation plot
UpdateSCTAssays

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

Transfer data
VizDimLoadings

Visualize Dimensional Reduction genes
VisiumV1-class

The VisiumV1 class
RidgePlot

Single cell ridge plot
RunSPCA

Run Supervised Principal Component Analysis
SingleSpatialPlot

Base plotting function for all Spatial plots
RunTSNE

Run t-distributed Stochastic Neighbor Embedding
SlideSeq-class

The SlideSeq class
LogVMR

Calculate the variance to mean ratio of logged values
MixscapeHeatmap

Differential expression heatmap for mixscape
LogNormalize

Normalize raw data
PredictAssay

Predict value from nearest neighbors
PolyFeaturePlot

Polygon FeaturePlot
MixscapeLDA

Linear discriminant analysis on pooled CRISPR screen data.
SpatialImage-class

The SpatialImage Class
PrepSCTIntegration

Prepare an object list normalized with sctransform for integration.
PrepLDA

Function to prepare data for Linear Discriminant Analysis.
RegroupIdents

Regroup idents based on meta.data info
SCTResults

Get SCT results from an Assay
RelativeCounts

Normalize raw data to fractions
SCTransform

Use regularized negative binomial regression to normalize UMI count data
as.sparse.H5Group

Cast to Sparse
SpatialPlot

Visualize spatial clustering and expression data.
cc.genes

Cell cycle genes
ScoreJackStraw

Compute Jackstraw scores significance.
ScaleFactors

Get image scale factors
SingleDimPlot

Plot a single dimension
SingleExIPlot

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

The TransferAnchorSet Class
TopNeighbors

Get nearest neighbors for given cell
merge.SCTAssay

Merge SCTAssay objects
subset.AnchorSet

Subset an AnchorSet object
reexports

Objects exported from other packages