Arguments
tracks
a list of data frames with track information that will be viewed in the genome browser. These data frames should have a BED format with the following columns: chromosome/scaffold, start, end, name, score, strand.
types
a "character" vector with type of tracks that will be represented. It should be one of: "gene", "exons", "domain", "value" or "score".
colors
a "character" vector with color used for the track representation.
mapTrack
a data frame with values to represent on the genome map in BED format: chromosome, start, end, name, value.
assembly
a genome assembly data frame. D3GB provides human assemblies (NCBI36, GRCh37, GRCh38), human assemblies with cytobands (GRCh37.bands or GRCh38.bands), or methods for creating your own assembly from a FASTA file getAssemblyFromFasta
. server
a logical value to enable (TRUE
) or disable (FALSE
) the server mode. Server mode: designed to be shared as a website. Resulting folder should be added to the Apache applications directory and enable writting permissions. In this way the genome browser will be working as a web site. Local mode: the genome browser will be functional on your local machine.
dir
a "character" string representing the directory where the graph will be saved.