Learn R Programming

SCIntRuler (version 0.99.6)

PermTest: Permutation Test

Description

Permutation Test

Usage

PermTest(fullcluster, distmat, firstn)

Value

A list of two lists, one is the relative within-between distance and another is p-value of permutation test. Default to be 15.

Arguments

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.

Examples

Run this code
data(sim_result)
testres <- PermTest(sim_result[[1]], sim_result[[3]],15)

Run the code above in your browser using DataLab