Skip to contents

preprocess_bed preprocess bed file to remove windows of size maxlag for chich there is no signal or only signal in one sample

Usage

preprocess_bed(
  files,
  names = files,
  maxlag = 1e+05,
  prefix = "",
  outdir = tempdir(check = TRUE)
)

Arguments

files

a vector of bed files path

names

(default: files) a list of names for the sample

maxlag

(default: 1e5) the size of the windows

prefix

(default: "clean_") the prefix of the preprocessed bed file

outdir

(default: "tempdir()") path for the preprocessed bed files

Value

save a list of preprocessed bed files