Objects must contain Ensembl gene identifiers in the geneId column. We
must avoid any matching operations based on the gene names, since these
change often and can mismatch easily.
Usage
KnownMarkers(markers, known, ...)
# S4 method for SeuratMarkersPerCluster,CellTypeMarkers
KnownMarkers(markers, known, promiscuousThreshold = 0L)Arguments
- markers
SeuratMarkersorSeuratMarkersPerCluster.- known
CellTypeMarkers. Grouped bycellTypecolumn. Known markersdata.frameimported byreadCellTypeMarkersor pulled from internal cell cycle markers data.- promiscuousThreshold
integer(1). Minimum number of clusters required to consider a gene marker promiscuous. Set to0to disable promiscuous marker filtering.- ...
Additional arguments.
Examples
data(cellTypeMarkersList, package = "AcidSingleCell")
data(SeuratMarkersPerCluster, package = "AcidTest")
## SeuratMarkersPerCluster ====
markers <- SeuratMarkersPerCluster
known <- cellTypeMarkersList[["homoSapiens"]]
x <- KnownMarkers(markers = markers, known = known)
summary(x)
#> [1] "KnownMarkers object of length 10 with 0 metadata columns"