GithubHelp home page GithubHelp logo

ego2509 / trio Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 674 KB

Python library to compare 3 different exomes and get the matching variants

Home Page: https://ego2509.github.io/trio/

License: MIT License

Python 100.00%
data-analysis pandas python python-library venn-diagram

trio's Introduction

Trio: Python library to compare 3 different sets of data/dataframes/exomes and get the matching variants (regions of a Venn diagram)

This set of functions allows to export the matching Venn spaces onto a dataframe and visualize the result on a Venn diagram.

Features

  • Customizable column filtering (props_)
  • Export the obtained region using the pandas.DataFrame object
  • Draw the Venn Diagram with the given filters with the Venn3 python library and customize it (Vtags)

Installation

Start by downloading the folling libraries to your virtual environment

(your-venv)$ pip install pandas matplotlib_venn

If you have conda, you can install pip as well

(your-conda-venv)$ conda install pip
(your-conda-venv)$ pip install pandas matplotlib_venn

On your working directory, download the functions

cd my_project
wget https://raw.githubusercontent.com/Ego2509/trio/main/trio.py

Import the libraries on your python script or notebook

import numpy as np
import pandas as pd 
from matplotlib_venn import venn3_unweighted as venn3
import trio

And there we go! If you want to see some examples and cases, please refer to the following python notebook. This notebook will be updated in the near future.

License

MIT

Powered by

idp-v-jeffrey-logo.png

trio's People

Contributors

ego2509 avatar

Stargazers

 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.