This function creates a CNA amplification.
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 amplification is placed. (optional)
- src_allele
The allele from which the region is amplified. (optional)
See also
Deletion
to build a deletion; CNA
to build both amplifications
and deletions.
Examples
# create an amplification CNA
cna <- Amplification("X", 20002, 100)
cna
#> CNA(type: "A", chr: "X", chr_pos: 20002, length: 100)