Prepares PURPLE somatic CNVs for use with HRDetect.
Examples
x <- system.file("extdata/purple/purple.cnv.somatic.tsv", package = "gpgr")
(l <- hrdetect_prep_cnv(x, nm = "SampleA"))
#> # A tibble: 1 × 2
#> name hrdloh_index
#> <chr> <dbl>
#> 1 SampleA 0