gtrack.marginal_sum: Create a dense track that is a sum of misha tracks

View source: R/track.R

gtrack.marginal_sumR Documentation

Create a dense track that is a sum of misha tracks

Description

The function creates a dense track that is a sum of misha tracks, by first creating a virtual track for each track with a "sum" function, and then running gtrack.create with a track expression that uses psum to sum the tracks.

Usage

gtrack.marginal_sum(
  out_track,
  tracks = NULL,
  track_regex = NULL,
  description = NULL,
  iterator = 10
)

Arguments

out_track

name of the track to create

tracks

vector of tracks to sum

track_regex

regular expression of the tracks to sum. You should provide either this or tracks.

description

a character string description

iterator

track expression iterator. If 'NULL' iterator is determined implicitly based on track expression.

Value

None.

Examples

## Not run: 
gset_genome("mm10")
gtrack.marginal_sum("wt_gastru.marginal", track_regex = "wt_gastru")
gtrack.marginal_sum("wt_gastru.marginal", tracks = c("wt_gastru.mc1", "wt_gastru.mc2"))

## End(Not run)


tanaylab/misha.ext documentation built on Oct. 1, 2024, 10:55 a.m.