write.bedgraph: Write bedgraph

Description Usage Arguments Value

View source: R/write.bedgraph.R

Description

DF in, bg written

Usage

1
2
write.bedgraph(df, path, chromSizesPath, chr = T, keepMeta = T, NAnum = 0,
  InfCoef = 100)

Arguments

df

A dataframe with bedgraph-like first four columns

path

Full path for output

chromSizesPath

The path to a chrom.sizes file

chr

Prepend chr to chromosome-names

NAnum

Number to replace NA's with

InfCoef

Number to multiply the min/max with for infs

Value

A genomicRanges-object


robinweide/RHWlib documentation built on July 23, 2018, 4:13 a.m.