calc_seg_state: calc_seg_state

View source: R/methyl_master_helper_functions.R

calc_seg_stateR Documentation

calc_seg_state

Description

common function used to calculate seg state from seg mean

Usage

calc_seg_state(seg.means = NULL, upper.thresh = 4, cutoff = NULL)

Arguments

seg.means

vector of seg.means

upper.thresh

CN state threshold, any number above this will be assigned this value

cutoff

vector of cutoff threshold for loss and gain respectively

Value

vector of calculated CNV states


mmariani123/MethylMasteR documentation built on June 22, 2022, 3:06 p.m.