printBEDFragmentLibrary: Print a BED-file fragment library

Description Usage Arguments Value Author(s) Examples

Description

This function extracts the first columns of a virtual fragment library file and exports them as a BED-file for use with other tools (e.g. visualization in the Integrative Genomics Viewer (IGV).)

Usage

1
printBEDFragmentLibrary(fragmentLibrary, BEDLibraryName, minFragEndLength = 0, zeroBased = FALSE)

Arguments

fragmentLibrary

Virtual fragment library file name

BEDLibraryName

File name for the exported BED file

minFragEndLength

Minimum fragment end length to be considered

zeroBased

If TRUE, adapt the start of the BED-file fragments

Value

writes BED-file containing the virtual fragment library position data

Author(s)

Carolin Walter

Examples

1
2
3
4
    if(interactive()) {
        file <- system.file("extdata", "vfl_aagctt_catg_mm9_54_vp.csv", package="Basic4Cseq")
        printBEDFragmentLibrary(file, "BEDLibrary_FL_vp.bed")
    }

Basic4Cseq documentation built on Nov. 8, 2020, 6:53 p.m.