gtrack.create_dense | R Documentation |
Creates a 'Dense' track from intervals and values.
gtrack.create_dense(
track = NULL,
description = NULL,
intervals = NULL,
values = NULL,
binsize = NULL,
defval = NaN
)
track |
track name |
description |
a character string description |
intervals |
a set of one-dimensional intervals |
values |
an array of numeric values - one for each interval |
binsize |
bin size of the newly created 'Dense' track |
defval |
default track value for genomic regions not covered by the intervals |
This function creates a new 'Dense' track with values at given intervals. 'description' is added as a track attribute.
None.
gtrack.create_sparse
, gtrack.import
,
gtrack.modify
, gtrack.rm
,
gtrack.info
gdb.init_examples()
intervs <- gintervals.load("annotations")
gtrack.create_dense(
"test_dense", "Test dense track", intervs,
1:dim(intervs)[1], 50, 0
)
gextract("test_dense", .misha$ALLGENOME)
gtrack.rm("test_dense", force = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.