Cnv.feature_signature

Cnv.feature_signature(layer, exclude_missing=False)

T-Test on given data.

Generate feature signatures for each cluster/feature pair across all barcodes using the supplied assay and layer. For each cluster/feature, returns median feature, standard deviation of feature, p-value, and the t-statistic of the feature in the cluster compared to all other clusters.

Parameters
layerstring

Layer name to be evaluated.

exclude_missingbool

Whether missing dna data is considered.

Returns
meddataframe

The median value of the layer for each cluster/feature pair.

stdevdataframe

The standard deviation of the layer for each cluster/feature pair.

pvaldataframe

The feature p-value of for each cluster vs other clusters.

tstatdataframe

The value of the t-statistic corresponding to the pval.