Returns a list of virtual track names.

gvtrack.ls(
  pattern = "",
  ignore.case = FALSE,
  perl = FALSE,
  fixed = FALSE,
  useBytes = FALSE
)

Arguments

pattern, ignore.case, perl, fixed, useBytes

see 'grep'

Value

An array that contains the names of virtual tracks.

Details

This function returns a list of virtual tracks that exist in current R environment that match the pattern (see 'grep'). If called without any arguments all virtual tracks are returned.

Examples


gdb.init_examples()
gvtrack.create("vtrack1", "dense_track", "max")
gvtrack.create("vtrack2", "dense_track", "quantile", 0.5)
gvtrack.ls()
#>  [1] "g_frac"             "c_frac"             "cg_frac"           
#>  [4] "masked_frac"        "vtrack1"            "vtrack2"           
#>  [7] "vtrack3"            "vtrack4"            "cov"               
#> [10] "motif_score"        "max_motif_score"    "max_motif_pos"     
#> [13] "cg_count"           "at_pos"             "at_neg"            
#> [16] "at_both"            "masked_count"       "gc"                
#> [19] "value_track"        "value_track_max"    "spatial_pwm"       
#> [22] "regular_pwm"        "spatial_extended"   "window_pwm"        
#> [25] "window_spatial_pwm"
gvtrack.ls(pattern = "*2")
#> [1] "vtrack2"