This function creates a CNA.
Arguments
- type
The CNA type: either
"A"
or"D"
for amplification and deletion, respectively.- chr
The name of the chromosome in which the CNA occurs.
- chr_pos
The position in the chromosome where the CNA occurs.
- len
The CNA length.
- allele
The allele in which the CNA occurs. (optional)
- src_allele
The allele from which the region is amplified. (optional, for amplification only)