Learn R Programming

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

Seurat v4.3.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

58,682

Version

4.3.0

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Paul Hoffman

Last Published

November 18th, 2022

Functions in Seurat (4.3.0)

CellCycleScoring

Score cell cycle phases
CellScatter

Cell-cell scatter plot
CustomDistance

Run a custom distance function on an input data matrix
BlackAndWhite

Create a custom color palette
DimHeatmap

Dimensional reduction heatmap
DimPlot

Dimensional reduction plot
AddAzimuthResults

Add Azimuth Results
AddAzimuthScores

Add Azimuth Scores
FindAllMarkers

Gene expression markers for all identity classes
BuildClusterTree

Phylogenetic Analysis of Identity Classes
FindClusters

Cluster Determination
GetAssay

Get an Assay object from a given Seurat object.
CalcPerturbSig

Calculate a perturbation Signature
CollapseSpeciesExpressionMatrix

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

The Assay Class
GetImage.SlideSeq

Get Image Data
AutoPointSize

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

Color dimensional reduction plot by tree split
AnchorSet-class

The AnchorSet Class
AverageExpression

Averaged feature expression by identity class
AnnotateAnchors

Add info to anchor matrix
AugmentPlot

Augments ggplot2-based plot with a PNG image.
BGTextColor

Determine text color based on background color
GetTissueCoordinates.SlideSeq

Get Tissue Coordinates
AddModuleScore

Calculate module scores for feature expression programs in single cells
AggregateExpression

Aggregated feature expression by identity class
CalculateBarcodeInflections

Calculate the Barcode Distribution Inflection
CaseMatch

Match the case of character vectors
CellSelector

Cell Selector
Cells.SCTModel

Get Cell Names
BarcodeInflectionsPlot

Plot the Barcode Distribution and Calculated Inflection Points
ElbowPlot

Quickly Pick Relevant Dimensions
GetTransferPredictions

Get the predicted identity
ImageDimPlot

Spatial Cluster Plots
CombinePlots

Combine ggplot2-based plots into a single plot
DEenrichRPlot

DE and EnrichR pathway visualization barplot
DoHeatmap

Feature expression heatmap
ExpMean

Calculate the mean of logged values
ImageFeaturePlot

Spatial Feature Plots
JackStrawPlot

JackStraw Plot
FastRowScale

Scale and/or center matrix rowwise
FeaturePlot

Visualize 'features' on a dimensional reduction plot
IntegrateData

Integrate data
DotPlot

Dot plot visualization
IntegrateEmbeddings

Integrate low dimensional embeddings
CellsByImage

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

Move outliers towards center on dimension reduction plot
LoadSTARmap

Load STARmap data
LocalStruct

Calculate the local structure preservation metric
ModalityWeights-class

The ModalityWeights Class
L2CCA

L2-Normalize CCA
FindConservedMarkers

Finds markers that are conserved between the groups
FindIntegrationAnchors

Find integration anchors
DietSeurat

Slim down a Seurat object
NNPlot

Highlight Neighbors in DimPlot
ProjectUMAP

Project query into UMAP coordinates of a reference
FindMarkers

Gene expression markers of identity classes
Radius.SlideSeq

Get Spot Radius
LogNormalize

Normalize raw data
DimReduc-class

The DimReduc Class
CreateSCTAssayObject

Create a SCT Assay object
FindSubCluster

Find subclusters under one cluster
ExpSD

Calculate the standard deviation of logged values
LogVMR

Calculate the variance to mean ratio of logged values
RunLDA

Run Linear Discriminant Analysis
FindTransferAnchors

Find transfer anchors
PrepSCTIntegration

Prepare an object list normalized with sctransform for integration.
FindMultiModalNeighbors

Construct weighted nearest neighbor graph
ExpVar

Calculate the variance of logged values
GetIntegrationData

Get integration data
HTOHeatmap

Hashtag oligo heatmap
GetResidual

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

Discrete colour palettes from pals
HVFInfo.SCTAssay

Get Variable Feature Information
JackStraw

Determine statistical significance of PCA scores.
RunMarkVario

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

Scatter plot of single cell data
ProjectDim

Project Dimensional reduction onto full dataset
Graph-class

The Graph Class
JackStrawData-class

The JackStrawData Class
ReadParseBio

Read output from Parse Biosciences
RunPCA

Run Principal Component Analysis
RunSLSI

Run Supervised Latent Semantic Indexing
GroupCorrelation

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

(Shared) Nearest-neighbor graph construction
LabelPoints

Add text labels to a ggplot2 plot
FilterSlideSeq

Filter stray beads from Slide-seq puck
MinMax

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

Read output from STARsolo
FindSpatiallyVariableFeatures

Find spatially variable features
LinkedPlots

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

Run Mixscape
Neighbor-class

The Neighbor Class
MixingMetric

Calculates a mixing metric
NormalizeData

Normalize Data
Read10X

Load in data from 10X
Read10X_Image

Load a 10X Genomics Visium Image
MULTIseqDemux

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

Hover Locator
SingleDimPlot

Plot a single dimension
RunMoransI

Compute Moran's I value.
FindVariableFeatures

Find variable features
SingleExIPlot

Plot a single expression by identity on a plot
FoldChange

Fold Change
GroupCorrelationPlot

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

Get SCT results from an Assay
HTODemux

Demultiplex samples based on data from cell 'hashing'
SpatialPlot

Visualize spatial clustering and expression data.
ReadSlideSeq

Load Slide-seq spatial data
MapQuery

Map query cells to a reference
SplitObject

Splits object into a list of subsetted objects.
PCASigGenes

Significant genes from a PCA
PercentAbove

Calculate the percentage of a vector above some threshold
ReadVitessce

Read Data From Vitessce
SCTransform

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

Convert objects to SingleCellExperiment objects
RunSPCA

Run Supervised Principal Component Analysis
IFeaturePlot

Visualize features in dimensional reduction space interactively
ISpatialDimPlot

Visualize clusters spatially and interactively
as.sparse.H5Group

Cast to Sparse
IntegrationAnchorSet-class

The IntegrationAnchorSet Class
ISpatialFeaturePlot

Visualize features spatially and interactively
RunTSNE

Run t-distributed Stochastic Neighbor Embedding
L2Dim

L2-normalization
LabelClusters

Label clusters on a ggplot2-based scatter plot
SelectIntegrationFeatures

Select integration features
SetIntegrationData

Set integration data
ReadVizgen

Read and Load MERFISH Input from Vizgen
ScaleFactors

Get image scale factors
MixscapeHeatmap

Differential expression heatmap for mixscape
ScoreJackStraw

Compute Jackstraw scores significance.
MixscapeLDA

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

The TransferAnchorSet Class
LoadXenium

Read and Load 10x Genomics Xenium in-situ data
IntegrationData-class

The IntegrationData Class
TransferData

Transfer data
PercentageFeatureSet

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

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

Load the Annoy index file
RunCCA

Perform Canonical Correlation Analysis
RunICA

Run Independent Component Analysis on gene expression
PlotClusterTree

Plot clusters as a tree
contrast-theory

Get the intensity and/or luminance of a color
fortify-Spatial

Prepare Coordinates for Spatial Plots
MappingScore

Metric for evaluating mapping success
PolyFeaturePlot

Polygon FeaturePlot
SlideSeq-class

The SlideSeq class
MetaFeature

Aggregate expression of multiple features into a single feature
PlotPerturbScore

Function to plot perturbation score distributions.
RunUMAP

Run UMAP
PolyDimPlot

Polygon DimPlot
PrepLDA

Function to prepare data for Linear Discriminant Analysis.
PrepSCTFindMarkers

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

Read 10X hdf5 file
ReadAkoya

Read and Load Akoya CODEX data
SCTAssay-class

The SCTModel Class
SaveAnnoyIndex

Save the Annoy index
RenameCells.SCTAssay

Rename Cells in an Object
ScaleData

Scale and center the data.
RidgePlot

Single cell ridge plot
SpatialImage-class

The SpatialImage Class
TopFeatures

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

Seurat Themes
STARmap-class

The STARmap class
SampleUMI

Sample UMI
SetQuantile

Find the Quantile of Data
PredictAssay

Predict value from nearest neighbors
TopNeighbors

Get nearest neighbors for given cell
VisiumV1-class

The VisiumV1 class
VariableFeaturePlot

View variable features
SingleCorPlot

A single correlation plot
Seurat-class

The Seurat Class
SubsetByBarcodeInflections

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

Load in data from remote or local mtx files
ReadNanostring

Read and Load Nanostring SMI data
subset.AnchorSet

Subset an AnchorSet object
TopCells

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

Convert objects to CellDataSet objects
SingleImageMap

SingleImagePlot

Single Spatial Plot
as.Seurat.CellDataSet

Convert objects to Seurat objects
cc.genes

Cell cycle genes
cc.genes.updated.2019

Cell cycle genes: 2019 update
merge.SCTAssay

Merge SCTAssay objects
RegroupIdents

Regroup idents based on meta.data info
reexports

Objects exported from other packages
RelativeCounts

Normalize raw data to fractions
Seurat-package

Seurat: Tools for Single Cell Genomics
SeuratCommand-class

The SeuratCommand Class
SingleRasterMap

A single heatmap from ggplot2 using geom_raster
SingleSpatialPlot

Base plotting function for all Spatial plots
UpdateSCTAssays

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

Get updated synonyms for gene symbols
VizDimLoadings

Visualize Dimensional Reduction genes
VlnPlot

Single cell violin plot