Learn R Programming

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

60,896

Version

4.0.4

License

GPL-3 | file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Paul Hoffman

Last Published

August 20th, 2021

Functions in Seurat (4.0.4)

CollapseEmbeddingOutliers

Move outliers towards center on dimension reduction plot
CollapseSpeciesExpressionMatrix

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

Slim down a Seurat object
DimHeatmap

Dimensional reduction heatmap
CalculateBarcodeInflections

Calculate the Barcode Distribution Inflection
AugmentPlot

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

The Assay Class
CellsByImage

Get a vector of cell names associated with an image (or set of images)
Cells.SCTModel

Get Cell Names
DotPlot

Dot plot visualization
AnchorSet-class

The AnchorSet Class
AnnotateAnchors

Add info to anchor matrix
ExpSD

Calculate the standard deviation of logged values
CalcPerturbSig

Calculate a perturbation Signature
ExpMean

Calculate the mean of logged values
DimPlot

Dimensional reduction plot
GetTransferPredictions

Get the predicted identity
FindConservedMarkers

Finds markers that are conserved between the groups
FindClusters

Cluster Determination
FindNeighbors

(Shared) Nearest-neighbor graph construction
FindTransferAnchors

Find transfer anchors
AddAzimuthScores

Add Azimuth Scores
AddAzimuthResults

Add Azimuth Results
FindVariableFeatures

Find variable features
IntegrateEmbeddings

Integrate low dimensional embeddings
ModalityWeights-class

The ModalityWeights Class
IntegrationAnchorSet-class

The IntegrationAnchorSet Class
RunICA

Run Independent Component Analysis on gene expression
AddModuleScore

Calculate module scores for feature expression programs in single cells
LabelClusters

Label clusters on a ggplot2-based scatter plot
MapQuery

Map query cells to a reference
ElbowPlot

Quickly Pick Relevant Dimensions
GetTissueCoordinates.SlideSeq

Get Tissue Coordinates
AggregateExpression

Aggregated feature expression by identity class
CellSelector

Cell Selector
CellScatter

Cell-cell scatter plot
DoHeatmap

Feature expression heatmap
CreateSCTAssayObject

Create a SCT Assay object
JackStraw

Determine statistical significance of PCA scores.
FindSpatiallyVariableFeatures

Find spatially variable features
CustomDistance

Run a custom distance function on an input data matrix
PrepSCTIntegration

Prepare an object list normalized with sctransform for integration.
MULTIseqDemux

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

Significant genes from a PCA
LogVMR

Calculate the variance to mean ratio of logged values
FindMultiModalNeighbors

Construct weighted nearest neighbor graph
LoadSTARmap

Load STARmap data
BarcodeInflectionsPlot

Plot the Barcode Distribution and Calculated Inflection Points
FilterSlideSeq

Filter stray beads from Slide-seq puck
BlackAndWhite

Create a custom color palette
BuildClusterTree

Phylogenetic Analysis of Identity Classes
FindAllMarkers

Gene expression markers for all identity classes
ColorDimSplit

Color dimensional reduction plot by tree split
DiscretePalette

Discrete colour palettes from the pals package
CombinePlots

Combine ggplot2-based plots into a single plot
HVFInfo.SCTAssay

Get Variable Feature Information
RunLDA

Run Linear Discriminant Analysis
Load10X_Spatial

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

Calculate the variance of logged values
LabelPoints

Add text labels to a ggplot2 plot
IFeaturePlot

Visualize features in dimensional reduction space interactively
Read10X_h5

Read 10X hdf5 file
DEenrichRPlot

DE and EnrichR pathway visualization barplot
FastRowScale

Scale and/or center matrix rowwise
ProjectUMAP

Project query into UMAP coordinates of a reference
GetResidual

Calculate pearson residuals of features not in the scale.data
DimReduc-class

The DimReduc Class
as.CellDataSet

Convert objects to CellDataSet objects
Read10X_Image

Load a 10X Genomics Visium Image
RegroupIdents

Regroup idents based on meta.data info
IntegrateData

Integrate data
ISpatialDimPlot

Visualize clusters spatially and interactively
ISpatialFeaturePlot

Visualize features spatially and interactively
RelativeCounts

Normalize raw data to fractions
SelectIntegrationFeatures

Select integration features
MixscapeLDA

Linear discriminant analysis on pooled CRISPR screen data.
FeaturePlot

Visualize 'features' on a dimensional reduction plot
MappingScore

Metric for evaluating mapping success
HTODemux

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

The JackStrawData Class
Seurat-package

Seurat: Tools for Single Cell Genomics
VlnPlot

Single cell violin plot
TopNeighbors

Get nearest neighbors for given cell
TransferAnchorSet-class

The TransferAnchorSet Class
ScoreJackStraw

Compute Jackstraw scores significance.
LogNormalize

Normalize raw data
ReadMtx

Load in data from remote or local mtx files
FeatureScatter

Scatter plot of single cell data
FindIntegrationAnchors

Find integration anchors
IntegrationData-class

The IntegrationData Class
GetImage.SlideSeq

Get Image Data
FoldChange

Fold Change
FindMarkers

Gene expression markers of identity classes
PolyFeaturePlot

Polygon FeaturePlot
SCTResults

Get SCT results from an Assay
PredictAssay

Predict value from nearest neighbors
FindSubCluster

Find subclusters under one cluster
Graph-class

The Graph Class
MinMax

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

Single cell ridge plot
SCTAssay-class

The SCTModel Class
LoadAnnoyIndex

Load the Annoy index file
GetAssay

Get an Assay object from a given Seurat object.
LocalStruct

Calculate the local structure preservation metric
ProjectDim

Project Dimensional reduction onto full dataset
PercentageFeatureSet

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

Hashtag oligo heatmap
merge.SCTAssay

Merge SCTAssay objects
Radius.SlideSeq

Get Spot Radius
MetaFeature

Aggregate expression of multiple features into a single feature
RenameCells.SCTAssay

Rename Cells in an Object
Read10X

Load in data from 10X
PrepLDA

Function to prepare data for Linear Discriminant Analysis.
RunSPCA

Run Supervised Principal Component Analysis
JackStrawPlot

JackStraw Plot
PlotClusterTree

Plot clusters as a tree
SplitObject

Splits object into a list of subsetted objects.
MixingMetric

Calculates a mixing metric
SubsetByBarcodeInflections

Subset a Seurat Object based on the Barcode Distribution Inflection Points
VisiumV1-class

The VisiumV1 class
RunPCA

Run Principal Component Analysis
RunTSNE

Run t-distributed Stochastic Neighbor Embedding
RunCCA

Perform Canonical Correlation Analysis
VizDimLoadings

Visualize Dimensional Reduction genes
subset.AnchorSet

Subset an AnchorSet object
as.sparse.H5Group

Cast to Sparse
GroupCorrelationPlot

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

Read output from Parse Biosciences
GroupCorrelation

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

Get integration data
SeuratTheme

Seurat Themes
Seurat-class

The Seurat Class
SpatialImage-class

The SpatialImage Class
reexports

Objects exported from other packages
ReadSlideSeq

Load Slide-seq spatial data
HoverLocator

Hover Locator
UpdateSymbolList

Get updated synonyms for gene symbols
SeuratCommand-class

The SeuratCommand Class
MixscapeHeatmap

Differential expression heatmap for mixscape
L2CCA

L2-Normalize CCA
RunUMAP

Run UMAP
cc.genes.updated.2019

Cell cycle genes: 2019 update
LinkedPlots

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

Normalize Data
L2Dim

L2-normalization
NNPlot

Highlight Neighbors in DimPlot
VariableFeaturePlot

View variable features
Neighbor-class

The Neighbor Class
PolyDimPlot

Polygon DimPlot
SetIntegrationData

Set integration data
SpatialPlot

Visualize spatial clustering and expression data.
RunMoransI

Compute Moran's I value.
RunMixscape

Run Mixscape
SlideSeq-class

The SlideSeq class
SaveAnnoyIndex

Save the Annoy index
PlotPerturbScore

Function to plot perturbation score distributions.
SampleUMI

Sample UMI
TopCells

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

Read output from STARsolo
RunMarkVario

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

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

Transfer data
cc.genes

Cell cycle genes
SCTransform

Use regularized negative binomial regression to normalize UMI count data
ScaleData

Scale and center the data.
as.SingleCellExperiment

Convert objects to SingleCellExperiment objects
TopFeatures

Find features with highest scores for a given dimensional reduction technique
STARmap-class

The STARmap class
ScaleFactors

Get image scale factors
contrast-theory

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

Convert objects to Seurat objects
BGTextColor

Determine text color based on background color
AverageExpression

Averaged feature expression by identity class
CaseMatch

Match the case of character vectors
CellCycleScoring

Score cell cycle phases