Learn R Programming

misha (version 4.2.9)

gdir.cd: Changes current working directory in Genomic Database

Description

Changes current working directory in Genomic Database.

Usage

gdir.cd(dir = NULL)

Value

None.

Arguments

dir

directory path

Details

This function changes the current working directory in Genomic Database (not to be confused with shell's current working directory). The list of database objects - tracks, intervals, track variables - is rescanned recursively under 'dir'. Object names are updated with the respect to the new current working directory. Example: a track named 'subdir.dense' will be referred as 'dense' once current working directory is set to 'subdir'. All virtual tracks are removed.

See Also

gdb.init, gdir.cwd, gdir.create, gdir.rm

Examples

Run this code
# \dontshow{
options(gmax.processes = 2)
# }

gdb.init_examples()
gdir.cd("subdir")
gtrack.ls()
gdir.cd("..")
gtrack.ls()

Run the code above in your browser using DataLab