Skip to content

Fix metapath extraction from indication file #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,680 changes: 767 additions & 913 deletions 1_code/1_basic_dmdb_analysis.ipynb

Large diffs are not rendered by default.

1,716 changes: 1,716 additions & 0 deletions Figures_DMDB_manuscript.ipynb

Large diffs are not rendered by default.

69 changes: 69 additions & 0 deletions data_tools/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
# Data Tools

A collection of random tools for manipulating data,
with the primary goal of producing hetnets.

## Description

### Overview

This is a collection of functions and tools for manipulating data.

### Motivation

This project was built from common operations I run in python and pandas. As I started to notice I was reusing blocks of
code throughout my various projects I decided to abstract them into functions, and packge them in a way they could be
easily integrated into future projects. For a project that uses this
toolset see [metapaths](https://github.com/mmayers12/metapaths/).

### Features

This repo contains tools for:

- Downloading data
- Reshaping Series and DataFrames
- Managing Graphs as DataFrames (separate Nodes and Edges objects)
- Some prebaked Seaborn plots with a particular style
- Processing and plotting Machine Learning results

### Re-use and contributions statement

Feel free to reuse code as you see fit. If you would like to make changes to the code, feel free to
build your own forked version.


## Getting Started

To install the latest version with pip use the following command:

pip install git+https://github.com/mmayers12/data_tools

### Requirements

See setup.py for a list of requirements.

## Usage

### How to use

To use functions in this library import them into your script.

### Code examples

from data_tools.graphs import combine_nodes_and_edges
combo = combine_nodes_and_edges(nodes, edges)

## Project Status

### Current status / build / version

Project is currently under heavy development. Methods and features are subject to change greatly on subsequent versions.

Current version is 0.0.8.

## Credits

### Contact info

For bug reports please email mmayers[at]scripps.edu or raise an issue on Github.

2 changes: 2 additions & 0 deletions data_tools/data_tools/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
__all__ = ['graphs', 'files', 'df_processing', 'wiki', 'plotting', 'obo_processing', 'ml']

Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading