assign_track_defaults | R Documentation |
Assign default UCSC track values to environment
assign_track_defaults(
env = new.env(),
defaults,
singlet_only = TRUE,
track_types = c("track", "superTrack", "parent"),
type_mapping = c(description = c("longLabel")),
...
)
env |
|
defaults |
|
singlet_only |
logical indicating whether to perform assignment
only when there is one unique value to assign. Useful when passing
|
track_types |
character vector containing regular expression
patterns, used to recognize track name fields. The values for
track name fields are passed to |
... |
additional arguments are passed to |
This function assigns values by name, to the specified environment. The values can be supplied as a list, or data.frame.
When singlet_only=TRUE
, each named value must have only
one unique value, otherwise it is not assigned to the environment.
The track_types
argument is used to help handle track names
by removing invalid track characters, for example for "track"
,
"superTrack"
, and "parent"
, these must be modified consistently
for the track hierarchy to remain valid.
'environment“ is returned invisibly.
Other jam ucsc browser functions:
get_track_defaults()
,
make_ucsc_trackname()
,
parse_ucsc_gokey()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.