create.genomebrowser.track: create.genomebrowser.track

Description Usage Arguments Author(s)

View source: R/main.R

Description

Converts the output of compute.score und compute.score.GRanges into genome browser tracks, that can be directly imported into e.g. UCSC Genome Browser.

Usage

1
2
3
4
5
6
create.genomebrowser.track(
  score.output,
  sample.name = "Sample",
  store.path = getwd(),
  bin.width = 5000
)

Arguments

score.output

The output as generated through compute.score or compute.score.GRanges: a data.frame with chromosome positions and the score values for those positions.

sample.name

The name of the sample to be added to the file.

store.path

The path to which the file is to be stored.

bin.width

Width of bins in bp to aggregate the scores. If NULL, the scores are stored as single CpGs.

Author(s)

Michael Scherer


MPIIComputationalEpigenetics/WSHPackage documentation built on Dec. 14, 2021, 11:49 a.m.