get_track_defaults | R Documentation |
Get UCSC track default values and track templates
get_track_defaults(env = new.env())
env |
Therefore, to use custom default values, or a custom template:
Relevant default values are stored in these
|
This function defines default values for overlay and composite track types. It also defines three templates each for overlay and composite:
overlay_header - equivalent to superTrack
overlay_parent - equivalent to one set of overlay tracks
overlay_track - each overlay track
composite_header - equivalent to one composite track
composite_parent - equivalent to a composite view within a composite track
composite_track - individual track within the composite track.
environment
which contains each template chunk for each
type of track section, and the corresponding default values.
Other jam ucsc browser functions:
assign_track_defaults()
,
make_ucsc_trackname()
,
parse_ucsc_gokey()
default_env <- get_track_defaults();
# describe the contents
jamba::sdim(default_env)
# customize view default to "PEAKS" instead of "JUNC"
default_env$composite_bed_defaults$view <- "PEAKS"
# change type to bigBed 10
default_env$composite_bed_defaults$type <- "bigBed 10"
data.frame(composite_bed_defaults=unlist(default_env$composite_bed_defaults))
# customize multiWig aggregate to "none"
default_env$overlay_defaults$aggregate <- "none";
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.