forked from dangeles/TissueEnrichmentAnalysis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
118 lines (81 loc) · 6.09 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
<!DOCTYPE html>
<html lang="en-us">
<head>
<meta charset="UTF-8">
<title>Tissue Enrichment Analysis (TEA) by dangeles</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="stylesheets/normalize.css" media="screen">
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" href="stylesheets/stylesheet.css" media="screen">
<link rel="stylesheet" type="text/css" href="stylesheets/github-light.css" media="screen">
</head>
<body>
<section class="page-header">
<h1 class="project-name">Tissue Enrichment Analysis (TEA)</h1>
<h2 class="project-tagline">This repository holds the scripts for WormBase's tissue enrichment analysis tool (TEA).</h2>
<a href="https://github.com/dangeles/TissueEnrichmentAnalysis" class="btn">View on GitHub</a>
<a href="https://github.com/dangeles/TissueEnrichmentAnalysis/zipball/master" class="btn">Download .zip</a>
<a href="https://github.com/dangeles/TissueEnrichmentAnalysis/tarball/master" class="btn">Download .tar.gz</a>
</section>
<section class="main-content">
<h1>
<a id="tissue-enrichment-analysis-tea" class="anchor" href="#tissue-enrichment-analysis-tea" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>Tissue Enrichment Analysis (TEA)</h1>
<p>This repository holds the scripts to calculate enrichment of a set of labels using hypergeometric statistics. Results are output to a dataframe. A standard plotting function is provided, but it is really just a thin wrapper around a seaborn plot.</p>
<h1>
<a id="requirements" class="anchor" href="#requirements" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>Requirements</h1>
<p>This library has been developed in Python >= 3.5, using the Anaconda distribution. Requirements include <code>pandas</code>, <code>matplotlib</code>, <code>numpy</code>, <code>scipy</code> and <code>seaborn</code>.</p>
<h1>
<a id="installation" class="anchor" href="#installation" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>Installation</h1>
<p>Use <code>pip install tissue_enrichment_analysis</code></p>
<h1>
<a id="basic-usage" class="anchor" href="#basic-usage" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>Basic Usage</h1>
<h2>
<a id="web-usage" class="anchor" href="#web-usage" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>Web usage</h2>
<p>Go to <a href="http://www.wormbase.org/tea">www.wormbase.org/tea</a>, input your gene list and enjoy the results!</p>
<h2>
<a id="within-a-python-script" class="anchor" href="#within-a-python-script" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>Within a Python Script</h2>
<p>There are really just two main functions that are provided in TEA: <code>enrichment_analysis</code> and <code>plot_enrichment_results</code>.</p>
<p>A standard call to this library would be as follows:</p>
<p><code>import tissue_enrichment_analysis as tea</code></p>
<p><code>gene_list= some_gene_list</code></p>
<p><code>tissue_df= tea.fetch_dictionary()</code></p>
<p><code>df_results= tea.enrichment_analysis(tissue_df, gene_list, aname= 'FileName')</code></p>
<p><code>tea.plot_enrichment_results(df_results, title= 'FileName')</code></p>
<h2>
<a id="calling-from-terminal" class="anchor" href="#calling-from-terminal" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>Calling from Terminal</h2>
<p>Gene enrichment analysis can be generated easily by calling the program via terminal using: <code>tea tissue_dictionary your_gene_list -[OPTIONS]</code></p>
<p>Type <code>tea -h</code> for help and full documentation.</p>
<h1>
<a id="future-work" class="anchor" href="#future-work" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>Future Work</h1>
<p>We may try to add support for other model organisms!</p>
<h1>
<a id="contact" class="anchor" href="#contact" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>Contact</h1>
<p>If you find any bugs, have suggestions or just want to say hi, feel free to contact me at <a href="mailto:[email protected]">[email protected]</a></p>
<p>Good luck!</p>
<p>David Angeles-Albores</p>
<h1>
<a id="author" class="anchor" href="#author" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>Author:</h1>
<p>David Angeles-Albores</p>
<h1>
<a id="contributors" class="anchor" href="#contributors" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>Contributors:</h1>
<p>Raymond Y. Lee, Paul W. Sternberg</p>
<h1>
<a id="acknowledgements" class="anchor" href="#acknowledgements" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>Acknowledgements</h1>
<p>With special thanks to the entire worm community!</p>
<footer class="site-footer">
<span class="site-footer-owner"><a href="https://github.com/dangeles/TissueEnrichmentAnalysis">Tissue Enrichment Analysis (TEA)</a> is maintained by <a href="https://github.com/dangeles">dangeles</a>.</span>
<span class="site-footer-credits">This page was generated by <a href="https://pages.github.com">GitHub Pages</a> using the <a href="https://github.com/jasonlong/cayman-theme">Cayman theme</a> by <a href="https://twitter.com/jasonlong">Jason Long</a>.</span>
</footer>
</section>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-31223175-1");
pageTracker._trackPageview();
} catch(err) {}
</script>
</body>
</html>