@vitessce/constants
Advanced tools
Changelog
3.1.0
@vitessce/vit-s
) (#1617)When there is not per-observation centroids, fall back to using the mouse position for tooltips in the spatial view. (@vitessce/spatial
) (#1458)
Fix duplicate URLs appearing in download dropdown by filtering based on names. (@vitessce/vit-s
) (#1458)
Added functions to the VitessceConfig
object-oriented configuration APIs to support multi-level and meta (i.e., complex) coordination. (@vitessce/config
) (#1561)
Implement hints for zero config mode. (@vitessce/config
, docs
) (#1597)
_ViewConfigEditor.js
:
Generate Config
button. Now each hint is a button that generates the view config when pressed.constants.js
in packages/config
that defines the range of supported hints, along with the name and coordinates of the desired layers.VitessceAutoConfig.js
:
_ViewConfigEditor.js
to determine what set of hints to display.Update styling of UI for auto-config layout hints in App page of docs. (docs
) (#1597)
Make example packages private to prevent changesets from publishing to NPM (@vitessce/example-configs
, @vitessce/example-plugins
) (#1496)
Changelog
3.0.1 - 2023-06-30
<Vitessce/>
in <React.StrictMode/>
FeatureList
that allows the user to:
alphabetical
and original
ordering for the feature list.<Vitessce/>
for the pre-upgrade view config.useInitialCoordination
hook to get the values of the coordination space from the initial config, which can be used for viewState reset buttons.config
object reference as hook dependency when no config.uid
is present (to support both controlled and un-controlled component cases).createViewConfigStore
function, rather than via useEffect
.ome-zarr
images via image.raster.json
featureListSort
and showFeatureTable
.FeatureListOptions
and to FeatureList
.featureLabels
mapping.AnndataZarrAutoConfig
class:
.zmetadata
file..zmetadata
file is present in the given URL.makeStyles
keys to be more specific to avoid conflicts.vitessce
and @vitessce/dev
.@tanstack/react-query
for data fetching.Changelog
3.0.0 - 2023-05-24
SpatialSubscriber
and EmbeddingScatterplotSubscriber
views.image.ome-tiff
and obsSegmentations.ome-tiff
file types.coordinateTransformation
file type options for image.ome-tiff
and image.ome-zarr
.obsSets
component when using zero config mode.CellSetSizesPlot
vega-lite plot to allow the Vitessce view to update and show the selected cluster on bar click.CellSetSizesPlot
on shift+click.useFullResolutionImage
to Spatial
to allow for loading only full resolution image from pyramid.CITATION.cff
obsFeatureMatrix
normalization logic out of data loader classes and into custom hooks that can be used in view implementations as-needed.VitessceAutoConfig.js
with methods and classes that can generate view config, given a list of dataset URLs.default-config.md
that describes the auto config generation functionality and how to use it._ViewConfigEditor.js
to accomodate the new functionality: added a space for pasting links and a "Generate Config" button.src
directories.CellSetSizesPlot
component.treeToSetSizesBySetNames
function to return the setNamePath
, so we can track which hierarchy the cluster represented by the clicked bar belongs to.CellSetSizesPlotSubscriber
component to reset cellSetSelection
to equal setNamePath
when user clicks on a bar in the CellSetSizesPlot
component.VegaPlot.js
to accept prop called setName
and overwrite the default tooltip style of vega-tooltip.styles.js
file that defines the style of the vega-tooltips.CellSetSizesPlot.js
and CellSetExpressionPlot.js
to pass in setName
as props when calling VegaPlot
.CellSetSizesPlotSubscriber.js
to determine which bars should be displayed in CellSetSizesPlot.js
.set-path-utils
file with the functions containing the more complex logic around choosing which hierarchy to display on the CellSetSizesPlot
.data
in CellSetSizesPlot
, called isGrayedOut
and made vega-lite to color in gray bars where this property is set to true.obsSetExpansion
to coordination scope and started using it in CellSetSizesPlotSubscriber.js
.onClick
function in the Heatmap
component. The Heatmap
component calls the onHeatmapClick
function, defined in the HeatmapSubscriber
, every time a user clicks on the heatmap. The onHeatmapClick
function sets the currently selected gene to be equal to the gene the user clicked at. It also sets the cell color encoding to geneSelection
.Viv
to 0.13.7
tsconfig.json
from the meta-updater scriptBitmaskLayer
to reduce memory usage.ExpressionHistogramSubscriber
component:
onSelect
, passed as props to ExpressionHistogram
. On selection on ExpressionHistogram
, the function computes what cell ids belong to that selection. Then calls the pre-existing setObsSelection
function to create a new cell set with the cell ids.ExpressionHistogram
component, which calls onSelect
, after 1 minute of debounce.window
.ObsSetsManagerSubscriber
to improve controlled-component performance.airbnb
eslint config.additionalObsSets
in coordination space when upgrade was necessary to prevent infinite loop.Create hierarchy
button to contain the string undefined
(e.g., My hierarchy 1undefined
)CellSetSizesPlotSubscriber
causing page to crash when no obsSets
view is present (due to expectation of initialized obsSetSelection
and obsSetExpansion
coordination values).featureLabels
are used (such as in the case of gene aliases used in the HuBMAP data portal view configs).FeatureListSubscriber
to read in showTable
, having it false by default.FeatureList
component to pass in 2 columns and 2 column labels if showTable
is true, otherwise just 1 column and 1 columnLabel if showTable
is false.SelectableTable
component and the table styles to handle showing 2 cells per row.es2019
in Vite bundle targets for packages/main/prod
and packages/main/dev
to support HuBMAP portal-ui.ToolMenu
:
onRecenterButtonCLick
function on click.recenter
to AbstractSpatialOrScatterplot
that gets overriden by descendants.
Spatial
and Scatterplot
.ToolMenu
as prop by AbstractSpatialOrScatterplot
and called on click.select rectangle
tool and all references to it.originalViewState
in SpatialSubscriber
and EmbeddingScatterplotSubscriber
.
originalViewState
holds the value of the initial position of the view and is used for recentering.config
prop change when <Vitessce/>
used as a controlled component.HeatmapOptions
, SpatialOptions
and ScatterplotOptions
components - added a checkbox for making the tooltip not visible.tooltipsVisible
to the coordination scope for Heatmap
, Spatial
and Scatterplot
coordination types. Its default value is true. Modified the components to hide the tooltip if tooltipVsisible
is false.disableTooltip
from props
.originalViewState.target
to not be an array as expected.onHover
in Heatmap.js
to track cell position also for cells that are on the cell set bar.useGetObsMembership
in hooks.js
to get the full path of the cell that was clicked.onHeatmapClick
function in HeatmapSubscriber.js
to distinguish between clicks on the heatmap and clicks on the cell set bar and take according actions.sort
in FeatureListSubscriber
, with default value equal to alphabetical
.FeatureList
so that if sort is not equal to alphabetical
, then sorting of data is skipped and the order of feature listis the same as original.sizes
neumann-2020
demo on the docs site.pointer
when the user is hovering over the heatmap.CellSetSizesPlotSubscriber
plot causing rending of empty CellSetSizesPlot
when there is no obsSets
view (due to expectation of initialised cellSetExpanded
coordination value).FeatureListOptions
component, which allows the user to change the sorting order of the feature list.Changelog
2.0.3 - 2023-02-01
MuData
file types.uid
prop for VitS
to fix Jupyter notebook style conflicts caused by multiple Vitessce
widget instances loaded in the same JupyterLab
session.!important
statements to override Jupyter Notebook (classic) style conflicts.vite.config.js
and pnpm run bundle
for bundling sub-packages as proper ESM.consumer/
directory, with a corresponding cypress test in sites/html/cypress/e2e/html.spec.cy.js
.rem
units to px
to fix R/Python widget CSS bugs caused by different root style conflicts._DiffViewConfigSchema
in the docs to fix bug.react
via esm.sh rather than es-react
via unpkg for the Cypress tests in sites/html
.Viv
to 0.13.6
to support OME-NGFF v0.4
pnpm pack
in all subpackages so that outdated packages from NPM are not used during the consumer package install test.Changelog
2.0.2 - 2022-12-09
main/all
package exports, so that they are included in vitessce
and @vitessce/dev
package exports.await
AnnData payloads that might be accessed in quickly repeatedly (i.e cache the promise, not the payload).overflow: hidden
to overflow: scroll
on the list of demos.@vitejs/plugin-react
version from 1.3.2
to 3.0.0-beta.0
createGenerateClassName
so that class names are deterministic0.13
and deck.gl to 8.8
Spatial
view for apparent bug in DeckGL PolygonLayer
preventing passing polygon vertices via Uint32Array
.Changelog
2.0.1 - 2022-11-20
gating
component that allows users to dynamically generate a scatterplot based on gene expression values.
gatingFeatureSelectionX
and gatingFeatureSelectionY
for the values selected for the gating plot.arcsinh
option for the coordinaition type featureValueTransform
featureValueTransformCoefficient
to apply a coefficent to a feature value transform.ViewType
as a main export from src/index.js
alongside Component
. Replaced Component
with ViewType
in the documentation.obsSets.json
and obsSets.cell-sets.json
.obsFeatureMatrix.clusters.json
obsFeatureMatrix.genes.json
obsLabels.cells.json
, obsEmbedding.cells.json
, obsLocations.cells.json
, obsSegmentations.cells.json
image.raster.json
,obsSegmentations.raster.json
, image.ome-zarr
obsLabels.anndata-expression-matrix.zarr
, featureLabels.anndata-expression-matrix.zarr
, obsFeatureMatrix.anndata-expression-matrix.zarr
obsFeatureMatrix.expression-matrix.zarr
obsLabels.molecules.json
and obsLocations.molecules.json
datatype: 'obs'
in obsSets.schema.json
coordinationValues
for view config file definitions.useMatchingLoader
hook.obsLabelsType
which supersedes factors
.VitessceConfig
constructor and VitessceConfigDataset.addFile
method to use named arguments via JS objects.genes/Genes
-> feature-list/FeatureList
sets/CellSetsManagerSubscriber
-> obs-sets/ObsSetsManagerSubscriber
sets/CellSetExpressionPlot
-> statistical-plots/CellSetExpressionPlot
sets/CellSetSizesPlot
-> statistical-plots/CellSetSizesPlot
genes/ExpressionHistogram
-> statistical-plots/ExpressionHistogram
<Vitessce/>
-> <VitS/>
within @vitessce/vit-s@vitessce/workers
sub-package with rollup + rollup plugin@vitessce/icons
sub-package with vite + svgr@vitessce/gl/src/glsl
with string manipulation to prevent need for plugintransparentColor
onConfigChange
from being called upon view resize events.