Skip to contents

Save each sample's segmentation file as a tab-delimited text file.

Usage

save_segmentation(seg_list, output_dir, filenames = NULL)

Arguments

seg_list

The output of run_cbs, i.e. a list of DNAcopy objects

output_dir

Directory where the segmentation files should be saved

filenames

A character vector of the names to save each sample by. This should be the same length and order as seg_list

Value

1 if the file was successfully saved