Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
81 commits
Select commit Hold shift + click to select a range
9d7e3d7
new: gsource
jiajic Feb 24, 2026
554dc2b
chore: code reorganization
jiajic Feb 25, 2026
ad53b53
chore: revert gsource
jiajic Feb 25, 2026
3e17bf7
giottodisk initial integration
jiajic Feb 27, 2026
1e21edd
Update slot_accessors.R
jiajic Mar 10, 2026
2117604
chore: export overlapInfo as an extension point
jiajic Apr 13, 2026
cb0578d
version bump to 0.5.2 for GiottoDisk changes
jiajic Apr 13, 2026
691fab8
feat!: remove expression_matrix_class param for readExprMatrix
jiajic Apr 13, 2026
2e0fb5b
chore: update examples
jiajic Apr 13, 2026
2b4869d
Update NEWS.md
jiajic Apr 13, 2026
2bb8fda
change: readExprData expression_matrix_class default is now NULL for …
jiajic Apr 13, 2026
fff257f
version to 0.6.0
jiajic Apr 13, 2026
77a53c6
chore: cleanup commented code
jiajic Apr 13, 2026
a8d0f5f
feat!: rework expression value ingestion
jiajic Apr 13, 2026
6986d56
fix: set param as deprecated
jiajic Apr 13, 2026
0453a7f
chore: update news
jiajic Apr 13, 2026
6074d5d
chore: docs
jiajic Apr 13, 2026
1c9db34
fix: ScaledMatrix is also accepted as matrix format
jiajic Apr 14, 2026
c7325d5
change: only write memory matrices
jiajic Apr 14, 2026
2cf94ec
fix: patch t_flex for iterablematrix
jiajic Apr 14, 2026
af95688
add assertions for point plotting params
jiajic Apr 14, 2026
7147b55
fix: add a conversion to dgc for iterablematrix to avoid pull-in warning
jiajic Apr 14, 2026
af2c2cc
chore: docs fix
jiajic Apr 14, 2026
c16719a
fix: stray bracket
jiajic Apr 14, 2026
eaeaea1
change: standardize_flex is now a thin wrapper for ScaledMatrix
jiajic Apr 14, 2026
f9912c6
fix: source detection during load
jiajic Apr 14, 2026
96918a6
change: centroids addition during polygon set
jiajic Apr 16, 2026
babdba3
chore: rename internal
jiajic Apr 16, 2026
1dc04c9
chore:cleanup commented code
jiajic Apr 16, 2026
5324a0c
feat!: remove centroid calculation during overlapToMatrix
jiajic Apr 16, 2026
36ad8ea
enh: ID method compat
jiajic Apr 16, 2026
3c6361c
change: poly and point subset methods
jiajic Apr 16, 2026
5dbaf58
Update flex_functions.R
jiajic Apr 16, 2026
f7c56ed
fix: standardize_flex for scaledmatrix incompatibles
jiajic Apr 20, 2026
ae8e518
chore: catch up to dev
jiajic Apr 21, 2026
c8636f9
Merge branch 'dev' into gsource
jiajic Apr 21, 2026
9967a26
Update standardise_flex.Rd
jiajic Apr 21, 2026
63758bd
Update .Rbuildignore
jiajic Apr 24, 2026
f7ffd10
chore: docs
jiajic Apr 24, 2026
d075488
chore: docs
jiajic Apr 24, 2026
4bb968d
chore: catchup to dev
jiajic Apr 24, 2026
700cbe1
chore: catch up to dev
jiajic Apr 29, 2026
781117d
docs
jiajic Apr 29, 2026
abb14dd
change: iterable matrix standardize changes
jiajic May 3, 2026
e59546f
change: add way to force a matrix backed write
jiajic May 3, 2026
278cc6b
init
jiajic May 4, 2026
617f238
chore: docs
jiajic May 5, 2026
8745364
Merge branch 'dev' into gsource
jiajic May 15, 2026
3810edb
fix: no backend should just be NULL, not a class
jiajic May 18, 2026
9d672f2
Merge branch 'dev' into gsource
jiajic May 18, 2026
591ac8d
Merge pull request #357 from jiajic/gsource
jiajic May 18, 2026
1697eb6
Merge branch 'gsource' into analyzedata
jiajic May 19, 2026
6c52b4b
Update create.R
jiajic May 19, 2026
03b6d97
feat: filterData generic + filterParam virtual class
jiajic May 20, 2026
e7f0981
feat: reduceData generic + reduceParam virtual class
jiajic May 20, 2026
d08eed6
feat: pass parquetExprStore through .evaluate_expr_matrix unchanged
jiajic May 20, 2026
a0423d0
perf: vectorize .net_dt_del_geometry simplex-to-edge expansion
jiajic May 21, 2026
d912869
feat: createNetwork S4 generic + networkParam family
jiajic May 21, 2026
d9ca312
feat: createNetwork higher-level dispatches for spatLocsObj/dimObj/gi…
jiajic May 21, 2026
3d46232
feat: space arg on giotto/NN createNetwork; switch to exported accessors
jiajic May 21, 2026
7905022
test: lockdown behaviour for createSpatial*Network / createNearestNet…
jiajic May 21, 2026
139b5f0
refactor: createNearestNetwork → thin wrapper over createNetwork
jiajic May 21, 2026
653fed7
refactor: spatialNetworkObj/nnNetObj storage to igraph; slot renames
jiajic May 21, 2026
c921077
refactor: delete convert_to_full/reduced_spatial_network; inline DT i…
jiajic May 21, 2026
b1579fe
refactor: gobject subset hook + on-load migration for legacy subobjects
jiajic May 22, 2026
e69dc9d
Merge branch 'dev' of https://github.com/giotto-suite/GiottoClass int…
jiajic May 22, 2026
ad59eea
fix: complete h5_file → backend deprecation across createGiottoObject…
jiajic May 22, 2026
20e0d88
Merge branch 'gsource' into analyzedata
jiajic May 22, 2026
07c67e8
Merge branch 'analyzedata' into consolidate-network-creation
jiajic May 22, 2026
cb98b53
fix: getNearestNetwork uses renamed @network slot
jiajic May 22, 2026
9071df1
docs: normalize bracket-method wording + fix stale internal-name comment
jiajic May 22, 2026
d7c5285
docs: NEWS entries for network refactor in 0.6.0
jiajic May 22, 2026
6969c9d
Merge branch 'consolidate-network-creation' into analyzedata
jiajic May 22, 2026
04d8a61
Merge pull request #359 from jiajic/gsource
jiajic May 22, 2026
b57c52d
feat: network setters auto-write to disk on backed gobjects
jiajic May 22, 2026
91b9d03
test: lock down setter auto-write to parquetEdgeStore on backed gobjects
jiajic May 22, 2026
f2296c1
fix: network setters plumb @type through auto-write to parquetEdgeStore
jiajic May 22, 2026
6d119da
Merge pull request #360 from jiajic/gsource
jiajic May 22, 2026
bc6860e
refactor: use .prune_nesting at all setter NULL-removal sites
jiajic May 24, 2026
8e05697
refactor: migrate slot_accessors.R from wrap_msg/isTRUE(verbose) to vmsg
jiajic May 24, 2026
5f0140b
refactor: align setter verbose defaults to NULL (vmsg-respecting)
jiajic May 24, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@
^docs$
^pkgdown$
^\.github$
test
^\.positai$
^\.claude$
6 changes: 3 additions & 3 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: GiottoClass
Title: Giotto Suite Object Definitions and Framework
Version: 0.5.1
Version: 0.6.0
Authors@R: c(
person("Ruben", "Dries", email = "rubendries@gmail.com",
role = c("aut", "cre"), comment = c(ORCID = "0000-0001-7650-7754")),
Expand Down Expand Up @@ -40,16 +40,17 @@ Imports:
matrixStats (>= 0.55.0),
methods,
reticulate (>= 1.25),
ScaledMatrix,
stats,
terra (>= 1.8-21)
Suggests:
Biobase,
chihaya,
DelayedArray,
DelayedMatrixStats (>= 1.24.0),
exactextractr,
geometry,
GiottoData,
GiottoDisk,
HDF5Array (>= 1.18.1),
knitr,
magick,
Expand All @@ -63,7 +64,6 @@ Suggests:
rmarkdown,
RTriangle (>= 1.6-0.10),
S4Vectors,
ScaledMatrix,
scattermore,
Seurat,
SeuratObject,
Expand Down
29 changes: 19 additions & 10 deletions NAMESPACE
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
# Generated by roxygen2: do not edit by hand

S3method(.DollarNames,affine2d)
S3method(.DollarNames,analyzeParam)
S3method(.DollarNames,dimObj)
S3method(.DollarNames,filterParam)
S3method(.DollarNames,giotto)
S3method(.DollarNames,metaData)
S3method(.DollarNames,processParam)
S3method(.DollarNames,reduceParam)
S3method(.DollarNames,spatEnrObj)
S3method(.DollarNames,spatLocsObj)
S3method(.DollarNames,terraVectData)
Expand All @@ -18,7 +21,6 @@ S3method(print,ghistory)
S3method(print,ghistory_item)
S3method(print,giottoInstructions)
S3method(t,spatLocsObj)
S3method(t,spatialNetworkObj)
S3method(utils::head,giottoBinPoints)
S3method(utils::tail,giottoBinPoints)
export(addCellMetadata)
Expand All @@ -39,6 +41,7 @@ export(aggregateStacksExpression)
export(aggregateStacksLocations)
export(aggregateStacksPolygonOverlaps)
export(aggregateStacksPolygons)
export(analyzeData)
export(anndataToGiotto)
export(annotateGiotto)
export(annotateSpatialGrid)
Expand Down Expand Up @@ -70,8 +73,6 @@ export(compatible_spatial_network)
export(convHull)
export(convertGiottoLargeImageToMG)
export(convert_mgImage_to_array_DT)
export(convert_to_full_spatial_network)
export(convert_to_reduced_spatial_network)
export(cor_flex)
export(createBentoAdata)
export(createCellMetaObj)
Expand Down Expand Up @@ -104,22 +105,17 @@ export(createSpatialNetwork)
export(createSpatialWeightMatrix)
export(create_average_DT)
export(create_average_detection_DT)
export(create_cell_meta_obj)
export(create_cluster_matrix)
export(create_dim_obj)
export(create_feat_meta_obj)
export(create_nn_net_obj)
export(create_spat_enr_obj)
export(create_spat_grid_obj)
export(create_spat_locs_obj)
export(create_spat_net_obj)
export(cropGiottoLargeImage)
export(delaunayNetworkParam)
export(distGiottoImage)
export(edge_distances)
export(estimateImageBg)
export(evaluate_input)
export(fDataDT)
export(featureNetwork)
export(filterData)
export(gefToGiotto)
export(getCellMetadata)
export(getDimReduction)
Expand Down Expand Up @@ -156,6 +152,7 @@ export(giottoToSpatialExperiment)
export(hexVertices)
export(installGiottoEnvironment)
export(joinGiottoObjects)
export(kNNNetworkParam)
export(list_cell_id_names)
export(list_cell_metadata)
export(list_dim_reductions)
Expand Down Expand Up @@ -189,6 +186,7 @@ export(minRect)
export(my_arowMeans)
export(my_growMeans)
export(my_rowMeans)
export(networkParam)
export(nnDT_to_kNN)
export(objHistory)
export(ometif_metadata)
Expand Down Expand Up @@ -217,13 +215,15 @@ export(reconnectGiottoImage)
export(reconnect_giottoImage_MG)
export(reconnect_giottoLargeImage)
export(rectVertices)
export(reduceData)
export(removeCellAnnotation)
export(removeFeatAnnotation)
export(removeGiottoEnvironment)
export(replaceGiottoInstructions)
export(rescalePolygons)
export(rowMeans_flex)
export(rowSums_flex)
export(sNNNetworkParam)
export(saveGiotto)
export(setCellMetadata)
export(setDimReduction)
Expand Down Expand Up @@ -292,21 +292,30 @@ export(updateGiottoPointsObject)
export(updateGiottoPolygonObject)
export(update_giotto_params)
export(writeGiottoLargeImage)
exportClasses(NNNetworkParam)
exportClasses(affine2d)
exportClasses(analyzeParam)
exportClasses(cellMetaObj)
exportClasses(delaunayNetworkParam)
exportClasses(dimObj)
exportClasses(exprObj)
exportClasses(featMetaObj)
exportClasses(featureNetwork)
exportClasses(filterParam)
exportClasses(giotto)
exportClasses(giottoBinPoints)
exportClasses(giottoImage)
exportClasses(giottoLargeImage)
exportClasses(giottoPoints)
exportClasses(giottoPolygon)
exportClasses(kNNNetworkParam)
exportClasses(networkParam)
exportClasses(nnNetObj)
exportClasses(overlapInfo)
exportClasses(overlapPointDT)
exportClasses(processParam)
exportClasses(reduceParam)
exportClasses(sNNNetworkParam)
exportClasses(spatEnrObj)
exportClasses(spatLocsObj)
exportClasses(spatialGridObj)
Expand Down
59 changes: 59 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,62 @@
# GiottoClass 0.6.0

## new

- `giotto` class gains a `source` slot for attaching a `gsource`-inheriting
backend manager (see {GiottoDisk}).
- `createGiottoObject()` gains a `backend` param: accepts a filepath or a
`gsource` object.
- filepath is converted to a `GiottoDisk::gDirSource` automatically.
- if `backend = NULL` -- the usual in-memory path is used.
- `saveGiotto()` and `loadGiotto()` now delegate to
`GiottoDisk::snapshotSave()` / `GiottoDisk::snapshotLoad()` when a
`gsource` backend is attached to the object. `foldername` and `dir` params
are ignored in that case.
- On-disk persistence via `GiottoDisk::sourceWrite()` is now triggered inside
`set_expression_values()`, `set_polygon_info()`, and `set_feature_info()`
when a `gsource` backend is present.
- `createNetwork()` is now an S4 generic with method dispatch on
`matrix`, `spatLocsObj`, `dimObj`, and `giotto` inputs.
- `networkParam` virtual class with concrete constructors
`kNNNetworkParam()`, `sNNNetworkParam()`, and `delaunayNetworkParam()`
configure `createNetwork()` calls. The legacy `type` string arg is
superseded by passing a `*NetworkParam` object.

## changes

- `h5_file` param in `createGiottoObject()` is deprecated; use `backend`
instead.
- `overlapInfo` class exported as an extension point.
- `updateGiottoObject()` now upgrades pre-0.6.0 objects to initialize the
new `source` slot, and migrates `spatialNetworkObj` / `nnNetObj` to the
new igraph-based storage (see breaking changes).
- `createNearestNetwork()`, `createSpatialDelaunayNetwork()`, and
`createSpatialKNNnetwork()` are now thin wrappers over `createNetwork()`.
Behavior is preserved.

## breaking changes

- Network subobject storage migrated from `data.table` to `igraph`:
- `spatialNetworkObj`: `@networkDT` → `@network` (igraph),
`@networkDT_before_filter` → `@unfiltered` (igraph)
- `nnNetObj`: `@igraph` → `@network`
- `updateGiottoObject()` migrates serialized pre-0.6.0 objects. The
same migration runs on-load via `initialize()` so legacy subobjects
passed to setters (`setSpatialNetwork()`, `setNearestNetwork()`)
are upgraded transparently.
- `getSpatialNetwork()` `output` choices changed:
`"networkDT_before_filter"` → `"unfiltered"`; new option `"igraph"`
returns the underlying graph directly.
- Removed exported helpers `convert_to_full_spatial_network()` and
`convert_to_reduced_spatial_network()`. The edge table is now an
igraph; use `igraph::as_data_frame(net, what = "edges")` if a
data.table form is needed.
- Geometric-transform methods (`flip()`, `spatShift()`, `t()`, `spin()`,
`rescale()`, `affine()`) are no longer defined on `spatialNetworkObj`.
Graph topology is invariant under these transforms; gobject-level
walkers skip the spatial-network slot.


# GiottoClass 0.5.1 (2026/05/14)

## changes
Expand Down
Loading
Loading