GithubHelp home page GithubHelp logo

Comments (2)

keller-mark avatar keller-mark commented on August 18, 2024

Hi @J-Yash
Can you try removing the data_type parameter in the add_file?

This is a minimal example of how the config would look as JSON

{
  "name": "Codeluppi et al., Nature Methods 2018",
  "description": "Spatial organization of the somatosensory cortex revealed by osmFISH",
  "version": "1.0.15",
  "initStrategy": "auto",
  "datasets": [
    {
      "uid": "codeluppi",
      "name": "Codeluppi",
      "files": [
        {
          "fileType": "obsSegmentations.json",
          "url": "https://s3.amazonaws.com/vitessce-data/0.0.33/main/codeluppi-2018/codeluppi_2018_nature_methods.cells.segmentations.json"
        }
      ]
    }
  ],
  "coordinationSpace": {
    "spatialSegmentationLayer": {
      "A": {
        "opacity": 1,
        "radius": 0,
        "visible": true,
        "stroked": false
      }
    }
  },
  "layout": [
    {
      "component": "layerController",
      "coordinationScopes": {
        "spatialSegmentationLayer": "A"
      },
      "x": 0,
      "y": 1,
      "w": 2,
      "h": 4
    },
    {
      "component": "spatial",
      "coordinationScopes": {
        "spatialSegmentationLayer": "A"
      },
      "x": 2,
      "y": 0,
      "w": 4,
      "h": 4
    }
  ]
}

You may need to add the line

vc.link_views([spatial, lc], ["spatialSegmentationLayer"], [{ "opacity": 1, "radius": 0, "visible": True, "stroked": False }]

from vitessce-python.

J-Yash avatar J-Yash commented on August 18, 2024

Awesome! That worked. Thanks for the quick response!
On a separate note, is it also possible to set the color of the polygons to a specific color?

from vitessce-python.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.