Code Monkey home page Code Monkey logo

pyling3d's Introduction

pyLinG3D: Visualizing the Spatio-Temporal Dynamics of Clonal Evolution

This library is a python implementation of the LinG3D (https://github.com/rejniaklab/LinG3D) which generates the 3D lineage trees of (1) all clones; (2) individual clones; (3) all clones, but with only those cells that survived to the end of simulation; and (4) individual clones containing only those cells that survived to the end of simulation.

Installing with pip

if you are using Linux or macOS you can install pyLinG3D with pip

pip install pyLinG3D

Example

%matplotlib ipympl

from pyLinG3D import LinG3DClone
from platform import python_version
print(python_version())
#exampleB05

pathData='exampleB05'
cloneNum=5
toPrint=1                # save the final figure
IsGradient = 1           # draw drug gradient in the background 1-yes; 0-no;
xmin=-100; xmax=100; ymin=xmin; ymax=xmax  # 2D domain boundaries
tmin=0; tmax=100000                        # time/iteration boundaries
fileStep = 2000       # frequency of data 
    
LinG3DClone(pathData,cloneNum,IsGradient,xmin,xmax,ymin,ymax,tmin,tmax,fileStep,toPrint).linG3DClone()
tree_clone_5

Authors

Anjun Hu, Maureiq Ojwang’, Kayode Olumoyin [email protected], Katarzyna Rejniak

Source Code

https://github.com/okayode/pyLinG3D

Acknowledgements

This work was supported by the NIH/NCI grants CA259387 and CA272601, and the NIH/NCI Physical Sciences Oncology Network (PSON) grant CA202229.

pyling3d's People

Contributors

okayode avatar

Watchers

 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.