Skip to contents

CNV Classification Classifies the CNV results into loss, gain, or no alteration for each observation and chromosome arm.

Usage

CNVclassification(seuratObj, peaks = c(-0.1, 0, 0.1))

Arguments

seuratObj

A Seurat object containing the results of the CNV analysis (e.g., from fastCNV).

peaks

A numeric vector containing the thresholds for classifying CNVs. The default is c(-0.1, 0, 0.1), which defines:

  • Loss: CNV scores below -0.1

  • No alteration: CNV scores between -0.1 and 0.1

  • Gain: CNV scores above 0.1

Value

The same Seurat object with an additional classification for each observation and chromosome arm in the metadata. The classification can be one of "loss", "gain", or "no_alteration".