Learn R Programming

GenVisR (version 1.0.4)

lohSpec_fileGlob: Grab data for lohSpec

Description

Look in the specified file path and grab data with the proper extension for lohSpec

Usage

lohSpec_fileGlob(path, fileExt, step, window_size, gender)

Arguments

path
character string specifying which directory contains the sample information stored as datasets with columns "chromosome", "position", "n_vaf", "t_vaf", and "sample" (required if x is not specified)
fileExt
character string specifying the file extensions of files
step
integer with the length of divisions (bp) in chromosomes
window_size
Integer value specifying the size of the window in base pairs in which to calculate the mean Loss of Heterozygosity.
gender
vector of length equal to the number of samples, consisting of elements from the set "M", "F"

Value

object of class data frame from data specified in path for lohSpec