loadFragmentLengths: Import output files from bedCountFragmentLengths.py script...

Description Usage Arguments Value Author(s)

View source: R/import_data.R

Description

All fragment length files are assumed to be nested in subdirectories named after sample names.

Usage

1
2
loadFragmentLengths(sample_dir, sample_names,
  file_suffix = ".fragment_lengths.txt", sub_dir = TRUE)

Arguments

sample_dir

Path to the directory containing the fragment length files.

sample_names

Vector of sample names.

file_suffix

Suffix of the fragment lengths files.

Value

List of GRanges objects corresponding to peak calls from each sample.

Author(s)

Kaur Alasoo


kauralasoo/seqUtils documentation built on May 20, 2019, 7:42 a.m.