Marks CN segments as a gain or loss, relative to the mode ploidy of the sample. Internally using mark_cn_relative_to_ploidy. See that function for argument details.
Usage
extract_ploidy_cn_feature(
segs_df = NA,
sample_col = "cell_id",
annotate_input = FALSE,
return_matrix = FALSE
)