Giter VIP home page Giter VIP logo

gim's Introduction

GIM

Maturity level-0

Introduction

We developed Gene Interaction Matrices (GIM) as a biologically inspired, gene-interaction based data transformation on gene expression data to create an image-like feature matrix from any gene expression-based study. The transformed data can then be used with any CNN based machine learning approaches for a variety of challenging problems such as disease diagnostics and drug development.

Dependencies

python >= 3.7
numpy 1.20.3
pandas 1.3.0

Usage

An example workflow to create a GIM is described here. To begin import the necessary dependencies and gim .py file containing the transform function.

import pandas
import gim

Load the treatment and control files containing one or more replicates from the gim/data/ directory.

df_control_replicates = pd.read_csv("control_replicates.csv")
df_treatment_replicates = pd.read_csv("treatment_replicates.csv")

Apply the gim_transform function to the files.

sample_img = gim.gim_transform(df_control_replicates, df_treatement_replicates)

Reference

Pre-print: https://www.biorxiv.org/content/10.1101/2021.09.07.459284v1

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.