Learn R Programming

scpoisson (version 0.0.2)

sigp: Significance for first split using sigclust2

Description

This function returns a list with elements mainly generated from sigclust2.

Usage

sigp(test_dat, minSize = 10, sim = 100)

Value

A list with the following elements:

p

P-value for the first split.

z

Z-score for the first split.

shc_result

An S3 object of class shc, as defined in the sigclust2 package.

clust2

A vector of group indices for each cell.

clust_dat

A matrix used as input for hierarchical clustering.

Arguments

test_dat

A UMI count matrix with samples as rows and features as columns.

minSize

Numeric, the minimal allowable cluster size (default 10).

sim

Numeric, the number of Monte Carlo simulations (default 100).

Details

This is a function used to calculate the significance level of the first split from hierarchical clustering based on euclidean distance and Ward's linkage.

References

kimes2017statisticalscpoisson Rclusterppscpoisson