This is an R package designed to identify and label different levels of Copy Number Alterations (CNA) in segmented profiles.
To install the package, you can use the devtools
package as follows:
install.packages("devtools")
devtools::install_github("baudisgroup/labelSeg")
The package requires segmentation data in the form of a .seg file. This file should contain six columns to specify the following information:
- Sample identifier
- Chromosome
- Segment start position
- Segment end position
- Number of markers in the segment (optional)
- LogR values
After processing your input data, labelSeg will add an additional column called "label" to your original segment data. This column indicates the SCNA levels for each segment. The labels are as follows:
- "+2" and "-2" represent high-level focal duplication and deletion.
- "+1" and "-1" represent low-level (broad) duplication and deletion.
- "0" represents segments with no relative copy changes.
library(labelSeg)
data(example.seg)
labeled.seg <- labelseg(data=example.seg, genome="hg38")
When using labelSeg in any published analysis, please cite the following article :
Zhao, H., & Baudis, M. (2024). labelSeg: segment annotation for tumor copy number alteration profiles. Briefings in bioinformatics, 25(2), bbad541. https://doi.org/10.1093/bib/bbad541