Learn R Programming

GenVisR (version 1.0.4)

lohSpec_stepCalc: Obtain average loh within each step

Description

Calculate avverage LOH within each step

Usage

lohSpec_stepCalc(final_dataset, step)

Arguments

final_dataset
object of class dataframe with columns 'window_start', 'window_stop', 'chromosome', 'position', 'n_vaf', 't_vaf', 'sample', and 'loh_diff_avg'
step
integer with the length of divisions (bp) in chromosomes

Value

list containing avg loh calculations for each step interval