Calculate SCIntRuler

CalcuSCIR(fullcluster, seuratlist, testres, p = 0.1)

Arguments

fullcluster

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

seuratlist

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

testres

Result from function PermTest()

p

P-value that will be used as the cut-off, default value is 0.1

Value

SCIntRuler

Examples

data(sim_result)
data(sim_data_sce)
# Create example data for fullcluster (mock data)
sim_data <- SCEtoSeurat(sim_data_sce)
#> Error in SCEtoSeurat(sim_data_sce): could not find function "SCEtoSeurat"
seuratlist <- Seurat::SplitObject(sim_data, split.by = "Study")
#> Error: object 'sim_data' not found
# seuratlist <- InputData(sim_data_sce,"Study")
# fullcluster <- GetCluster(seuratlist)
# testres <- PermTest(fullcluster,distmat,15)
CalcuSCIR(sim_result[[1]], seuratlist, sim_result[[4]])
#> Error: object 'seuratlist' not found