Creates a copy of an existing track.

gtrack.copy(src = NULL, dest = NULL)

Arguments

src

source track name

dest

destination track name

Value

None.

Details

This function creates a copy of a track. The new track is created in the current working directory (.misha$GWD), which may be in a different database than the source track when multiple databases are connected.

Examples


gdb.init_examples()
gtrack.copy("dense_track", "dense_track_copy")
gtrack.exists("dense_track_copy")
#> [1] TRUE
gtrack.rm("dense_track_copy", force = TRUE)