View page source

This example illustrates loading sample information through the igv browser configuration object. Sample information is specified as an object who's keys are sample values and values are key-value pairs of sample attributes.

       sampleinfo:
                {
                    "TRIBE_p_TCGAaffx_B1_2_GBM_Nsp_GenomeWideSNP_6_A01_155716": {
                        "Subtype": "Classical",
                        "sil_width": -0.135526414,
                        "GENDER": "FEMALE",
                        "KarnScore": 80,
                        "AgeAtFirstDiagnosis": 45,
                        "Secondary|or|Recurrent": "Rec",
                        "Survival|(days)": 221,
                        "VITALSTATUS": "DEAD",
                        "Censured": 0,
                        "MGMT_methylated": "-",
                        "%|Tumor|Nuclei": 97.5,
                        "%|Necrosis": 0
                    },
                    "TRIBE_p_TCGAaffx_B1_2_GBM_Nsp_GenomeWideSNP_6_A03_155748": {
                        "Subtype": "Neural",
                        "sil_width": -0.069669747,
                  ...