Find peaks in CNV table
cnv_show_peaks.Rd
This function is used to visualize transcriptomic regions corresponding to CN gain or loss.
Arguments
- segments
DATAFRAME : a dataframe containing "start" and "stop" position of each peak. It may contain a column "status" to color in red segment corresponding to gain and in blue segment corresponding to loss. The column status is a factor with two levels : gain or loss. It may contain a column "seg_name" containing segment names. Otherwise, it is computed using chr. This dataframe may have been computed using cnv_find_peaks function (no default)
- chr
VECTOR : a vector containing the chromosome for each gene that was in table_cnv (no default)
- label
LOGICAL : whether to label segments or not