gtrack.marginal_sum | R Documentation |
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.
gtrack.marginal_sum(
out_track,
tracks = NULL,
track_regex = NULL,
description = NULL,
iterator = 10
)
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 |
description |
a character string description |
iterator |
track expression iterator. If 'NULL' iterator is determined implicitly based on track expression. |
None.
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.