Comments (2)
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.
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)
- Convert spatialdata-plot plotting tree to Vitessce config
- Failed to load model class "Anymodel" HOT 2
- Publish a Vitessce notebook on Posit Connect HOT 11
- AnnDataWrapper - support for obsSpots, obsPoints, etc.
- OmeTiffWrapper - support coordinationValues and fileType: "image.ome-tiff"
- Adding scale bar to spatial view image
- ValueError: data too large for non-BigTIFF file HOT 4
- Additional improvements to adata_to_multivec_zarr function
- Add option for widget to communicate directly with Zarr store (no local HTTP server) HOT 2
- Bumping supported Anndata Version? HOT 1
- Support automatic instantiation of Wrapper objects HOT 2
- Support using JSX for writing plugin views
- Setting colors for obsSets? HOT 2
- Helper function to use adata.uns[obs_set_col + "_colors"] for initial obs set colors
- Notebooks environment.yml PackageNotFoundError for starlette==0.14.0
- Notebooks errors (list)
- Adding Vitessce widgets to a visualization dashboard HOT 1
- Define a plugin class/dataclass to couple on_config_change and anywidget.invoke handlers with plugin_esm HOT 1
- Support writing plugin_esm using local file with anywidget FileContents
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vitessce-python.