Skip to content

docs v2: Search Box #100

Open
Open
@manzt

Description

From the pior docs:

Search box
-----------

Views can have a search box which shows the current genomic position and lets users search for genes. In order for the current position to be shown, we need to pass in a chromsizes track. For gene search to be enabled, we have to pass in a gene annotations track:

chromosomes = Track(tilesetUid='N12wVGG9SPiTkk03yUayUw',
           server='https://higlass.io/api/v1',
           type='horizontal-chromosome-labels')
genes = Track(tilesetUid='OHJakQICQD6gTD7skx4EWA',
           server='https://higlass.io/api/v1',
           type='horizontal-gene-annotations')

(d,s,v) = higlass.display([
    View(
            [chromosomes, genes],
            chrominfo=chromosomes,
            geneinfo=genes,
        )
])
d

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions