logo Netzschleuder network catalog, repository, and centrifuge

History of plant_hypocotyl

The changes to the source code of this entry in the repository, newest first, each with the differences it made to the entry's files. They are also listed on GitLab.

[entries] Add the date when each entry was added, and remove icon_hash by Tiago de Paula Peixoto beff7c9
The dates are those of the commits that first added the entries' files
(2020-08-11 for the entries of the initial commit); renamed entries keep
the date of their first name.

Changed: none
diff --git a/entries/plant_hypocotyl/__init__.py b/entries/plant_hypocotyl/__init__.py
index 986f295..869f70a 100644
--- a/entries/plant_hypocotyl/__init__.py
+++ b/entries/plant_hypocotyl/__init__.py
@@ -32,7 +32,7 @@ The networks have the following properties:
 tags = ['Biological', 'Weighted', 'Metadata']
 url = 'https://elifesciences.org/articles/26023'
 citation = [('M. D. B. Jackson, H. Xu, S. Duran-Nebreda, P. Stamm, G. W. Bassel, "Topological analysis of multicellular complexity in the plant hypocotyl." eLife 6, e26023 (2017)', 'https://doi.org/10.7554/eLife.26023')]
-icon_hash = '5997cab3549f067e0265c05c'
+date_added = '2026-10-25'
 upstream_license = ('Creative Commons Attribution 4.0 International (CC BY 4.0)', 'https://creativecommons.org/licenses/by/4.0/')
 upstream_prefix = 'https://cdn.elifesciences.org/articles/26023'
 samples = ['ara_col', 'ara_ler', 'ara_cvi', 'ara_monopteros', 'ara_cdka1',
[entries] Prefix the properties in the descriptions with (Node), (Edge) or (Graph) by Tiago de Paula Peixoto bc3dbbd
The lists of properties at the end of the descriptions marked edge
properties with "Edge" but left node properties unmarked, or grouped
them in "Nodes: `a`, ...; `b`, ..." items, so the kind of a property
was often unclear. Every item now starts with (Node), (Edge) or (Graph),
followed by the property names, a colon and the explanation, one item
per property or group of properties; qualifications (kinds of nodes,
networks) follow the names in parentheses. Properties that were only
named got a short explanation, and a few items that named the wrong
kind of property were corrected.
diff --git a/entries/plant_hypocotyl/__init__.py b/entries/plant_hypocotyl/__init__.py
index 87c208e..986f295 100644
--- a/entries/plant_hypocotyl/__init__.py
+++ b/entries/plant_hypocotyl/__init__.py
@@ -26,9 +26,9 @@ There are three biological replicates (`_1`, `_2`, `_3`) for each of eight sampl
 
 The networks have the following properties:
 
-- `label`: the identifier of the cell in the segmented image.
-- `cell_type`: the cell type: "trichoblast", "atrichoblast" (the two epidermal cell types), "outer cortex", "inner cortex 2nd layer", "inner cortex 3rd layer" (foxglove only), "endodermis", "vasculature", or "buffer region" (labeled "Buffer region cell" in the source, without further documentation). In `poppy_3`, the source data give conflicting types for 1,078 cells (the type of a cell is listed separately in each of its edges); the most frequently listed type is used.
-- `shared_wall_area` (edges): the area of the cell wall shared by the two cells, as computed by MorphoGraphX (in µm²)."""
+- (Node) `label`: the identifier of the cell in the segmented image.
+- (Node) `cell_type`: the cell type: "trichoblast", "atrichoblast" (the two epidermal cell types), "outer cortex", "inner cortex 2nd layer", "inner cortex 3rd layer" (foxglove only), "endodermis", "vasculature", or "buffer region" (labeled "Buffer region cell" in the source, without further documentation). In `poppy_3`, the source data give conflicting types for 1,078 cells (the type of a cell is listed separately in each of its edges); the most frequently listed type is used.
+- (Edge) `shared_wall_area` (edges): the area of the cell wall shared by the two cells, as computed by MorphoGraphX (in µm²)."""
 tags = ['Biological', 'Weighted', 'Metadata']
 url = 'https://elifesciences.org/articles/26023'
 citation = [('M. D. B. Jackson, H. Xu, S. Duran-Nebreda, P. Stamm, G. W. Bassel, "Topological analysis of multicellular complexity in the plant hypocotyl." eLife 6, e26023 (2017)', 'https://doi.org/10.7554/eLife.26023')]
[entries] Remove unneeded code from the entries by Tiago de Paula Peixoto 2c69f19
Unneeded "global files" statements, unused imports and variables,
f-strings without placeholders, duplicate keys in foodweb_little_rock
(keeping the order and the values used), and the second definition of
get_lines() in twitter_higgs. Nothing changes in the networks or
descriptions.

Changed: none
diff --git a/entries/plant_hypocotyl/__init__.py b/entries/plant_hypocotyl/__init__.py
index c19bc25..87c208e 100644
--- a/entries/plant_hypocotyl/__init__.py
+++ b/entries/plant_hypocotyl/__init__.py
@@ -51,7 +51,6 @@ def fetch_upstream(force=False):
 @coerce_props()
 @annotate()
 def parse(alts=None):
-    global files
     name = __name__.split(".")[-1]
     for fname, alt, fmt in files:
         if alts is not None and alt not in alts:
[entries] plant_hypocotyl: lay out without the spatial override by Tiago de Paula Peixoto 30e0738
The cells' adjacency in a three-dimensional tissue is not a nearly planar
graph on a two-dimensional surface, for which the get_pos() override
(cfd_layout without the SBM partition) is meant; the entry now has the
default layout, and no Spatial tag.
diff --git a/entries/plant_hypocotyl/__init__.py b/entries/plant_hypocotyl/__init__.py
index 41e733e..c19bc25 100644
--- a/entries/plant_hypocotyl/__init__.py
+++ b/entries/plant_hypocotyl/__init__.py
@@ -29,7 +29,7 @@ The networks have the following properties:
 - `label`: the identifier of the cell in the segmented image.
 - `cell_type`: the cell type: "trichoblast", "atrichoblast" (the two epidermal cell types), "outer cortex", "inner cortex 2nd layer", "inner cortex 3rd layer" (foxglove only), "endodermis", "vasculature", or "buffer region" (labeled "Buffer region cell" in the source, without further documentation). In `poppy_3`, the source data give conflicting types for 1,078 cells (the type of a cell is listed separately in each of its edges); the most frequently listed type is used.
 - `shared_wall_area` (edges): the area of the cell wall shared by the two cells, as computed by MorphoGraphX (in µm²)."""
-tags = ['Biological', 'Spatial', 'Weighted', 'Metadata']
+tags = ['Biological', 'Weighted', 'Metadata']
 url = 'https://elifesciences.org/articles/26023'
 citation = [('M. D. B. Jackson, H. Xu, S. Duran-Nebreda, P. Stamm, G. W. Bassel, "Topological analysis of multicellular complexity in the plant hypocotyl." eLife 6, e26023 (2017)', 'https://doi.org/10.7554/eLife.26023')]
 icon_hash = '5997cab3549f067e0265c05c'
@@ -73,9 +73,3 @@ def parse(alts=None):
                                   vals=[cell_types[types[g.vp.label[v]].most_common(1)[0][0]]
                                         for v in g.vertices()])
         yield alt, g
-
-
-def get_pos(g, sbm_fit):
-    # Spatial network: laid out with the default parameters of cfd_layout(),
-    # without the partition of the SBM fit
-    return cfd_layout(g)
[entries] Use American spelling in the descriptions by Tiago de Paula Peixoto 802d564
British spellings in the titles and descriptions of 69 entries (e.g.
labelled, organisation, millimetres, centres, anonymised, neighbours,
analysed, modelled, colour, licence) are replaced by the American ones.
Proper names keep their spelling (Otago Harbour, the Centre for Water
Systems, the Centre jeunesse de Montréal, the Dutch Ministry of Defence),
as do quoted upstream terms, citations, and property names.
diff --git a/entries/plant_hypocotyl/__init__.py b/entries/plant_hypocotyl/__init__.py
index c09d274..41e733e 100644
--- a/entries/plant_hypocotyl/__init__.py
+++ b/entries/plant_hypocotyl/__init__.py
@@ -27,7 +27,7 @@ There are three biological replicates (`_1`, `_2`, `_3`) for each of eight sampl
 The networks have the following properties:
 
 - `label`: the identifier of the cell in the segmented image.
-- `cell_type`: the cell type: "trichoblast", "atrichoblast" (the two epidermal cell types), "outer cortex", "inner cortex 2nd layer", "inner cortex 3rd layer" (foxglove only), "endodermis", "vasculature", or "buffer region" (labelled "Buffer region cell" in the source, without further documentation). In `poppy_3`, the source data give conflicting types for 1,078 cells (the type of a cell is listed separately in each of its edges); the most frequently listed type is used.
+- `cell_type`: the cell type: "trichoblast", "atrichoblast" (the two epidermal cell types), "outer cortex", "inner cortex 2nd layer", "inner cortex 3rd layer" (foxglove only), "endodermis", "vasculature", or "buffer region" (labeled "Buffer region cell" in the source, without further documentation). In `poppy_3`, the source data give conflicting types for 1,078 cells (the type of a cell is listed separately in each of its edges); the most frequently listed type is used.
 - `shared_wall_area` (edges): the area of the cell wall shared by the two cells, as computed by MorphoGraphX (in µm²)."""
 tags = ['Biological', 'Spatial', 'Weighted', 'Metadata']
 url = 'https://elifesciences.org/articles/26023'
[entries] Lay out spatial networks with cfd_layout() without the SBM partition by Tiago de Paula Peixoto 9db8d77
Road, power grid, public transport, water and river networks and physical
meshes override get_pos() with the default parameters of cfd_layout(),
without grouping by the partition of the SBM fit.
diff --git a/entries/plant_hypocotyl/__init__.py b/entries/plant_hypocotyl/__init__.py
index 9df1adf..c09d274 100644
--- a/entries/plant_hypocotyl/__init__.py
+++ b/entries/plant_hypocotyl/__init__.py
@@ -73,3 +73,9 @@ def parse(alts=None):
                                   vals=[cell_types[types[g.vp.label[v]].most_common(1)[0][0]]
                                         for v in g.vertices()])
         yield alt, g
+
+
+def get_pos(g, sbm_fit):
+    # Spatial network: laid out with the default parameters of cfd_layout(),
+    # without the partition of the SBM fit
+    return cfd_layout(g)
[entries] New entry: plant_hypocotyl by Tiago de Paula Peixoto 08538dc
diff --git a/entries/plant_hypocotyl/__init__.py b/entries/plant_hypocotyl/__init__.py
new file mode 100644
index 0000000..9df1adf
--- /dev/null
+++ b/entries/plant_hypocotyl/__init__.py
@@ -0,0 +1,75 @@
+#! /usr/bin/env python
+# -*- coding: utf-8 -*-
+#
+# Copyright (C) 2020-2026 Tiago de Paula Peixoto <tiago@skewed.de>
+#
+# This program is free software: you can redistribute it and/or modify it under
+# the terms of the GNU Affero General Public License as published by the Free
+# Software Foundation, either version 3 of the License, or (at your option) any
+# later version.
+#
+# This program is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+# FOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more
+# details.
+#
+# You should have received a copy of the GNU Affero General Public License along
+# with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+from .. import *
+import collections
+
+title = "Plant hypocotyl cellular connectivity (2017)"
+description = """Networks of the physical contacts between the cells of whole plant hypocotyls (the embryonic stem of seedlings), from Jackson et al. Hypocotyls were imaged with confocal microscopy and segmented into cells in 3D with the MorphoGraphX software, and each cell was annotated with its cell type. Nodes are cells, and an undirected edge connects two cells that are physically adjacent, i.e. share a cell wall, weighted by the area of the shared wall. To account for imaging artifacts, edges between cells sharing less than 2 µm² of wall were removed, except between cells of the vasculature.
+
+There are three biological replicates (`_1`, `_2`, `_3`) for each of eight samples: the *Arabidopsis thaliana* wild-type ecotypes Columbia (`ara_col`), Landsberg *erecta* (`ara_ler`) and Cape Verde Islands (`ara_cvi`); the *Arabidopsis* mutants *monopteros* (`ara_monopteros`), *cdka1;1* (`ara_cdka1`) and *laterne* (`ara_laterne`); and the species poppy (*Papaver rhoeas*, `poppy`) and foxglove (*Digitalis purpurea*, `foxglove`).
+
+The networks have the following properties:
+
+- `label`: the identifier of the cell in the segmented image.
+- `cell_type`: the cell type: "trichoblast", "atrichoblast" (the two epidermal cell types), "outer cortex", "inner cortex 2nd layer", "inner cortex 3rd layer" (foxglove only), "endodermis", "vasculature", or "buffer region" (labelled "Buffer region cell" in the source, without further documentation). In `poppy_3`, the source data give conflicting types for 1,078 cells (the type of a cell is listed separately in each of its edges); the most frequently listed type is used.
+- `shared_wall_area` (edges): the area of the cell wall shared by the two cells, as computed by MorphoGraphX (in µm²)."""
+tags = ['Biological', 'Spatial', 'Weighted', 'Metadata']
+url = 'https://elifesciences.org/articles/26023'
+citation = [('M. D. B. Jackson, H. Xu, S. Duran-Nebreda, P. Stamm, G. W. Bassel, "Topological analysis of multicellular complexity in the plant hypocotyl." eLife 6, e26023 (2017)', 'https://doi.org/10.7554/eLife.26023')]
+icon_hash = '5997cab3549f067e0265c05c'
+upstream_license = ('Creative Commons Attribution 4.0 International (CC BY 4.0)', 'https://creativecommons.org/licenses/by/4.0/')
+upstream_prefix = 'https://cdn.elifesciences.org/articles/26023'
+samples = ['ara_col', 'ara_ler', 'ara_cvi', 'ara_monopteros', 'ara_cdka1',
+           'ara_laterne', 'poppy', 'foxglove']
+files = [(f'elife-26023-supp1-v1.zip:{s}_{i}.csv', f'{s}_{i}', None)
+         for s in samples for i in (1, 2, 3)]
+cell_types = {'9': 'trichoblast', '1': 'atrichoblast', '2': 'outer cortex',
+              '3': 'inner cortex 2nd layer', '7': 'inner cortex 3rd layer',
+              '4': 'endodermis', '5': 'vasculature', '10': 'buffer region'}
+
+def fetch_upstream(force=False):
+    return fetch_upstream_files(__name__.split(".")[-1], upstream_prefix, files,
+                                force)
+
+@cache_network()
+@coerce_props()
+@annotate()
+def parse(alts=None):
+    global files
+    name = __name__.split(".")[-1]
+    for fname, alt, fmt in files:
+        if alts is not None and alt not in alts:
+            continue
+        # Columns: Label, Neighbour, Shared_Wall_Area, Label_Cell_Type,
+        # Neighbour_Cell_Type
+        with open_upstream_file(name, fname, "r") as f:
+            rows = list(csv.reader(f))[1:]
+        types = collections.defaultdict(collections.Counter)
+        for r in rows:
+            types[r[0]][r[3]] += 1
+            types[r[1]][r[4]] += 1
+        g = Graph(directed=False)
+        g.ep.shared_wall_area = g.new_ep("double")
+        g.vp.label = g.add_edge_list(((r[0], r[1], float(r[2])) for r in rows),
+                                     hashed=True, hash_type="string",
+                                     eprops=[g.ep.shared_wall_area])
+        g.vp.cell_type = g.new_vp("string",
+                                  vals=[cell_types[types[g.vp.label[v]].most_common(1)[0][0]]
+                                        for v in g.vertices()])
+        yield alt, g