Create a genomic range index descriptor

Usage

genomicRangeIndex(chr, lo, hi, name = "gri")

Arguments

chr
Name of the string column of chromosome names to be used
lo
Name of the integer column of low coordinates to be used
hi
Name of the integer column of high coordinates to be used
name
Name to give the created genomic range index; used when querying the GTable after it has been closed.

Value

a list that can be used as an index descriptor when calling newDXGTable

Description

Creates a genomic range index descriptor describing which columns are to be used to create the index.

Examples

genomicRangeIndex("chr", "lo", "hi")
$name [1] "gri" $type [1] "genomic" $chr [1] "chr" $lo [1] "lo" $hi [1] "hi"
genomicRangeIndex("chr", "lo", "hi", name="othergri")
$name [1] "othergri" $type [1] "genomic" $chr [1] "chr" $lo [1] "lo" $hi [1] "hi"