Skip to content

Commit 706354e

Browse files
authored
🚚 reorganize structure of docs (#81)
* 🚚 reorganize structure * 🐛 fix markdown export for new docs structure * 🐛 update folder name
1 parent da3cdd6 commit 706354e

30 files changed

Lines changed: 106 additions & 15 deletions

.github/workflows/updt_markdowns.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ jobs:
3434
working-directory: docs
3535
run: |
3636
sphinx-apidoc --force --implicit-namespaces --module-first -o reference ../src/acore
37-
rm -r api_examples
37+
rm -r api_examples_module
38+
rm -r examples_single_analysis
3839
rm -r example_data
3940
echo "# Test" > index.md
4041
sphinx-build --keep-going -b markdown ./ ./_build_markdown
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
"cells": [
3+
{
4+
"cell_type": "markdown",
5+
"id": "ca88adc0",
6+
"metadata": {},
7+
"source": [
8+
"# Input Formats\n",
9+
"\n",
10+
"All omics data is tabular. The `rows` are the samples, and the `columns` are the features. The `rows` and `columns` can be annotated with metadata. The data is stored in a `dataframe` object, which is a 2D labeled data structure with columns of potentially different types.\n",
11+
"\n",
12+
"Features:\n",
13+
"\n",
14+
"- `df.index.name` - name of the index (row labels)\n",
15+
"- `df.columns.name` - name of the columns (column labels)\n",
16+
"\n",
17+
"> MultiIndex objects are not supported as most libarires do not support them. metadata is stored in a separate dataframe.\n",
18+
"\n",
19+
"\n",
20+
"The approach is to keep it simple, just use a `dataframe` object, which can be easily serialized to a human readable format, e.g. a `csv` file. The file-format can be anything and the validity of the data is check when data is used, mainly using pandera or a few custom functions."
21+
]
22+
},
23+
{
24+
"cell_type": "code",
25+
"execution_count": null,
26+
"id": "7d56e23a",
27+
"metadata": {
28+
"vscode": {
29+
"languageId": "plaintext"
30+
}
31+
},
32+
"outputs": [],
33+
"source": []
34+
}
35+
],
36+
"metadata": {
37+
"language_info": {
38+
"name": "python"
39+
}
40+
},
41+
"nbformat": 4,
42+
"nbformat_minor": 5
43+
}
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# ---
2+
# jupyter:
3+
# jupytext:
4+
# text_representation:
5+
# extension: .py
6+
# format_name: percent
7+
# format_version: '1.3'
8+
# jupytext_version: 1.19.3
9+
# ---
10+
11+
# %% [markdown]
12+
# # Input Formats
13+
#
14+
# All omics data is tabular. The `rows` are the samples, and the `columns` are the features. The `rows` and `columns` can be annotated with metadata. The data is stored in a `dataframe` object, which is a 2D labeled data structure with columns of potentially different types.
15+
#
16+
# Features:
17+
#
18+
# - `df.index.name` - name of the index (row labels)
19+
# - `df.columns.name` - name of the columns (column labels)
20+
#
21+
# > MultiIndex objects are not supported as most libarires do not support them. metadata is stored in a separate dataframe.
22+
#
23+
#
24+
# The approach is to keep it simple, just use a `dataframe` object, which can be easily serialized to a human readable format, e.g. a `csv` file. The file-format can be anything and the validity of the data is check when data is used, mainly using pandera or a few custom functions.
25+
26+
# %%

docs/api_examples_module/index.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Overview
2+
3+
Examples for specific modules, each highlighting the
4+
5+
1. desired input for that module (loaded from file)
6+
2. the available functions and associated output(s) of that module (saved to file)
7+
8+
For in-depth explanations of the functionality, links to the single analysis examples
9+
are provided within the module examples.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

docs/api_examples/diff_regulation_anova_more_than_two_groups.ipynb renamed to docs/examples_single_analysis/diff_regulation_anova_more_than_two_groups.ipynb

File renamed without changes.

0 commit comments

Comments
 (0)