import_wiggle: Import wiggle data generated by the lab's ChIP-seq analysis...

View source: R/import_wiggle.R

import_wiggleR Documentation

Import wiggle data generated by the lab's ChIP-seq analysis pipeline

Description

Given a path to a collection of 16 tab-separated wiggle data files (one per yeast chromosome), imports data into a GRanges object.

Usage

import_wiggle(path, local_copy = TRUE)

Arguments

path

Path to the folder containing the wiggle data. No default.

local_copy

Logical indicating whether to create local copy of target file before importing data. If TRUE a local copy is automatically created and deleted after use. Use this argument to avoid reading files directly from shared locations (namely LabShare). Defaults to TRUE.

Value

GRanges object.

Examples

## Not run: 
x <- import_wiggle('wiggle_data/')

dot1 <- import_wiggle('/Volumes/LabShare/HTGenomics/HiSeqOutputs/\
                      AveReps_SacCer3_MACS2/Red1-dot1D-195-16-reps-MACS2/',
                      local_copy=TRUE)

## End(Not run)

hochwagenlab/hwglabr2 documentation built on Nov. 12, 2022, 7:27 p.m.