Code Monkey home page Code Monkey logo

plant-tissue's Introduction

README

This repository contains a MATLAB collection of objects and methods to analyse the division plane of plant cells and plant tissues.

Installation

  • Clone or download a copy of this repository
  • Add the folder and its subfolders to the MATLAB path

Cell network

cell network

A 2D cell network can be created from a collection of vertices, edges and cells.

Each vertex is a 2D point and a list of vertices can be created as a nx2 array.

Each edge is a 2D arc with an optional age (lineage). A list of edges can be represented as a nx4 array where each row is composed of the following element:

  • the first element is the index of the starting vertex,
  • the second element is the index of the ending vertex,
  • the third element is the oriented angle (in radians) formed between the arc and the chord length joining the 2 vertices. 0 means a straight line,
  • the fourth (optional) element is the age of the edge.

Cells are directed cycles i.e. cyclic sequences of vertices and edges. A list of cells can be represented as a cell array where is cell contains of vector with the edge index.

Example

The following example create a triangular cell:

% Create a list of 2D vertices
V=[0 0;
  1 0;
  0 1;];

% Create a list of edges
E = [1 2 0;
     2 3 pi/4;
     3 1 0;];

% Create a cell array of cells
C = {[1 2 3]};

% Create the cellNetwork object
N = cellNetwork(V,E,C);

% Plot the cellNetwork object
h = plot(N, 'o-r')

plant-tissue's People

Contributors

sbesson avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

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.