Learn R Programming

SCIntRuler (version 0.99.6)

FindCell: Find cells indicating shared biological features across conditions

Description

Find cells indicating shared biological features across conditions

Usage

FindCell(seuratobj, seuratlist, fullcluster, distmat, firstn = 15)

Value

A list of two vectors: one is for which cluster of which sample will be highlighted and the second one is which cells will be selected.

Arguments

seuratobj

The Seurat object that all samples/subjects were merged together.

seuratlist

A list of Seurat objects, usually can be got by SplitObject().

fullcluster

A list of clusters that generated by the function GetCluster().

distmat

A list of distance vectors generated by the function FindNNDist().

firstn

The number of nearest cells were detected that you want to include in the permutation test. Default to be 15.

Examples

Run this code
# \donttest{
data(sim_data_sce)
data(sim_result)
sim_data <- SCEtoSeurat(sim_data_sce)
seuratlist <- Seurat::SplitObject(sim_data, split.by = "Study")
FindCell(sim_data, seuratlist, sim_result[[1]], sim_result[[3]], 15)
# }

Run the code above in your browser using DataLab