SeuratMarkers | R Documentation |
This generator function is designed to take the original return from a Seurat marker analysis and add corresponding gene annotations.
SeuratMarkers(object, ...)
SeuratMarkersPerCluster(object, ...)
## S4 method for signature 'data.frame'
SeuratMarkers(object, ranges, alphaThreshold = 0.05)
## S4 method for signature 'data.frame'
SeuratMarkersPerCluster(object, ranges, alphaThreshold = 0.05)
object |
Unmodified Seurat marker return
|
... |
Additional arguments. |
ranges |
|
alphaThreshold |
|
For Seurat::FindAllMarkers()
return, rownames are correctly returned
in the gene
column.
SeuratMarkers
.
Updated 2022-06-09.
data(Seurat, package = "AcidTest")
## Seurat ====
object <- Seurat
ranges <- rowRanges(object)
## `FindMarkers()` return.
invisible(capture.output({
markers <- Seurat::FindMarkers(
object = object,
ident.1 = "1",
ident.2 = NULL
)
}))
x <- SeuratMarkers(object = markers, ranges = ranges)
summary(x)
## `FindAllMarkers()` return.
invisible(capture.output(suppressWarnings({
markers <- Seurat::FindAllMarkers(object)
})))
x <- SeuratMarkersPerCluster(object = markers, ranges = ranges)
summary(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.