This function creates a CNA deletion.
Arguments
- 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 deletion occurs. (optional)
See also
Amplification
to build an amplification; CNA
to build
both amplifications and deletions.
Examples
# create a deletion CNA
cna <- Deletion("Y", 40020, 200)
cna
#> CNA(type: "D", chr: "Y", chr_pos: 40020, length: 200)