How to use the higlass.ChromosomeInfo function in higlass

To help you get started, we’ve selected a few higlass examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github visdesignlab / cTracks / lib / components / CTracksComp / CTracksComp.js View on Github external
this.RetrieveViewID = this.RetrieveViewID.bind(this);
    this.RetrieveLocation_Static = this.RetrieveLocation_Static.bind(this);
    this.RetrieveLocation = this.RetrieveLocation.bind(this);
    this.UpdateViewID = this.UpdateViewID.bind(this);
    this.UpdateAPIInfo = this.UpdateAPIInfo.bind(this);
    this.UpdateCNVData = this.UpdateCNVData.bind(this);
    this.UpdateHiglassView = this.UpdateHiglassView.bind(this);
    this.UpdateConfigFile = this.UpdateConfigFile.bind(this);
    this.ProcessCNVFile = this.ProcessCNVFile.bind(this);
    this.LoadConfigFile = this.LoadConfigFile.bind(this);
    this.Reset = this.Reset.bind(this);

    this.chromInfo = null;
    // fetch ChromosomeInfo from HiGlass
    // this needs to be specified in a config file somewhere
    hglib.ChromosomeInfo('http://higlass.io/api/v1/chrom-sizes/?id=Ajn_ttUUQbqgtOD4nOt-IA', chromInfo => {
      this.chromInfo = chromInfo;
    });
  }
github visdesignlab / cTracks / src / App.js View on Github external
componentDidMount() {
    hglib.ChromosomeInfo('http://higlass.io/api/v1/chrom-sizes/?id=Ajn_ttUUQbqgtOD4nOt-IA')
      .then(info => this.setState({chromInfo: info}))

    if (this.state.uid === 'demo' && !ResilientData.servers.get().length)
      demo()

    hamradio.publish('ready/cTracks')
  }

higlass

HiGlass Hi-C / genomic / large data viewer

MIT
Latest version published 11 months ago

Package Health Score

55 / 100
Full package analysis