plotomics
    Preparing search index...

    Interface IgvOptions

    Options for the genome viewer. config is a full igv.js browser config and, if supplied, is what the browser is built from. The convenience top-level fields (genome, locus, tracks) are assembled into a config when config is absent; with a config, locus and tracks still apply on top of it once the browser is live.

    interface IgvOptions {
        config: Record<string, unknown> | null;
        genome: string | null;
        locus: string | null;
        tracks: Record<string, unknown>[];
    }
    Index
    config: Record<string, unknown> | null

    A full igv.js browser config ({ genome|reference, locus, tracks: [...] }). When present the browser is built from it and genome is not used; locus and tracks apply on top of it.

    genome: string | null

    Genome identifier (e.g. "hg38") used when config is not given. null sends no genome, so igv.js starts with no reference loaded; the Python wrapper sends genome=None as this null.

    locus: string | null

    Initial locus, e.g. "chr8:127,736,588-127,739,371" or a gene symbol.

    tracks: Record<string, unknown>[]

    Tracks (igv.js track configs) to load. The list is additive: a track already shown is not loaded again, and one left out stays shown.