Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
zqfang committed Dec 8, 2022
1 parent a16ba27 commit 52f9aa3
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 35 deletions.
60 changes: 30 additions & 30 deletions docs/gseapy_example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
}
},
"source": [
"## 1. Biomart API \n",
"## Biomart API \n",
"\n",
"Don't use this if you don't know Biomart\n",
"\n",
Expand All @@ -77,7 +77,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"### 1.1 convert gene identifiers"
"### Convert gene identifiers"
]
},
{
Expand Down Expand Up @@ -197,7 +197,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"### 1.2 Mouse gene symbols maps to Human, or Vice Versa\n",
"### Mouse gene symbols maps to Human, or Vice Versa\n",
"\n",
"This is useful when you have troubles to convert gene symbols between human and mouse"
]
Expand Down Expand Up @@ -368,7 +368,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"### 1.3 Gene Symbols Conversion for the GMT file\n",
"### Gene Symbols Conversion for the GMT file\n",
"This is useful when runing GSEA for non-human species\n",
"\n",
"**e.g. Convert Human gene symbols to Mouse.**"
Expand Down Expand Up @@ -430,7 +430,7 @@
}
},
"source": [
"## 2. Enrichr API"
"## Enrichr API"
]
},
{
Expand Down Expand Up @@ -538,7 +538,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"### 2.1 Over-representation analysis by Enrichr web services\n",
"### Over-representation analysis by Enrichr web services\n",
"\n",
"The only requirement of input is a list of gene symbols.\n",
"\n",
Expand Down Expand Up @@ -665,7 +665,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"### 2.2 Over-representation analysis via Enrichr web services\n",
"### Over-representation analysis via Enrichr web services\n",
"\n",
"This is an Example of the Enrichr analysis\n",
"\n",
Expand Down Expand Up @@ -841,7 +841,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"### 2.3 Over-representation analysis (hypergeometric test) by offline\n",
"### Over-representation analysis (hypergeometric test) by offline\n",
"\n",
"This API **DO NOT** use Enrichr web services.\n",
"\n",
Expand Down Expand Up @@ -1017,7 +1017,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"### 2.4 Plotting"
"### Plotting"
]
},
{
Expand Down Expand Up @@ -1124,7 +1124,7 @@
}
},
"source": [
"### 2.5 Command line usage "
"### Command line usage "
]
},
{
Expand Down Expand Up @@ -1157,9 +1157,9 @@
}
},
"source": [
"## 3. Prerank example\n",
"## Prerank example\n",
"\n",
"### 3.1 Assign prerank() with \n",
"### Assign prerank() with \n",
"\n",
"- pd.DataFrame: Only contains two columns, or one cloumn with gene_name indexed \n",
"- pd.Series \n",
Expand All @@ -1168,7 +1168,7 @@
" - Do not include header in your gene list ! \n",
"\n",
"\n",
"### NOTE: UPCASES for gene symbols by Default\n",
"#### NOTE: UPCASES for gene symbols by Default\n",
"\n",
"1. Gene symbols are all \"UPCASES\" in the Enrichr Libaries. You should convert your input gene identifier to \"UPCASES\" first.\n",
"2. If input `gmt`, `dict` object, please refer to `1.2 Mouse gene symbols maps to Human, or Vice Versa` (in this page) to convert gene identifier\n",
Expand Down Expand Up @@ -1322,7 +1322,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"### 3.2 How to generate your GSEA plot inside python console \n",
"### How to generate your GSEA plot inside python console \n",
"Visualize it using ``gseaplot`` \n",
"\n",
"Make sure that ``ofname`` is not None, if you want to save your figure to the disk"
Expand Down Expand Up @@ -1628,7 +1628,7 @@
}
},
"source": [
"### 3.2 Command line usage "
"### Command line usage "
]
},
{
Expand Down Expand Up @@ -1659,10 +1659,10 @@
}
},
"source": [
"## 4. GSEA Example\n",
"## GSEA Example\n",
"\n",
"\n",
"### 4.1 Inputs \n",
"### Inputs \n",
"\n",
"Assign gsea() \n",
"\n",
Expand All @@ -1687,7 +1687,7 @@
"```\n",
"\n",
"\n",
"### NOTE: UPCASES for gene symbols by Default\n",
"#### NOTE: UPCASES for gene symbols by Default\n",
"\n",
"1. Gene symbols are all \"UPCASES\" in the Enrichr Libaries. You should convert your input gene identifier to \"UPCASES\" first.\n",
"2. If input `gmt`, `dict` object, please refer to `1.2 Mouse gene symbols maps to Human, or Vice Versa` (in this page) to convert gene identifier\n"
Expand Down Expand Up @@ -2137,7 +2137,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"### 4.2 Show the gsea plots\n",
"### Show the gsea plots\n",
"\n",
"The **gsea** module will generate heatmap for genes in each gene sets in the backgroud. \n",
"But if you need to do it yourself, use the code below"
Expand Down Expand Up @@ -2231,7 +2231,7 @@
}
},
"source": [
"### 4.3 Command line usage "
"### Command line usage "
]
},
{
Expand Down Expand Up @@ -2262,7 +2262,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"## 5. Single Sample GSEA example\n",
"## Single Sample GSEA example\n",
"\n",
"**Note: When you run ssGSEA, all genes names in your gene_sets file should be found in your expression table**\n",
"\n",
Expand All @@ -2275,7 +2275,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"### 5.1 Input format \n",
"#### Input format \n",
"Assign \n",
"- `data` with \n",
" - a txt file, gct file, \n",
Expand All @@ -2295,7 +2295,7 @@
"```\n",
"\n",
"\n",
"### NOTE: UPCASES for gene symbols by Default\n",
"#### NOTE: UPCASES for gene symbols by Default\n",
"\n",
"1. Gene symbols are all \"UPCASES\" in the Enrichr Libaries. You should convert your input gene identifier to \"UPCASES\" first.\n",
"2. If input `gmt`, `dict` object, please refer to `1.2 Mouse gene symbols maps to Human, or Vice Versa` (in this page) to convert gene identifier\n"
Expand Down Expand Up @@ -2520,9 +2520,9 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"### 5.2 Access Enrichment Score (ES) and NES\n",
"### Access Enrichment Score (ES) and NES\n",
"\n",
"results are saved to obj.res2d"
"Results are saved to obj.res2d"
]
},
{
Expand Down Expand Up @@ -2893,7 +2893,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"### 5.3 command line usage of single sample gsea"
"### Command line usage of ssGSEA"
]
},
{
Expand All @@ -2912,11 +2912,11 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"## 6. Replot Example\n",
"## Replot Example\n",
"\n",
"### 6.1 locate your directory\n",
"### Locate your directory\n",
"\n",
"notes: ``replot`` module need to find edb folder to work properly.\n",
"Notes: ``replot`` module need to find edb folder to work properly.\n",
"keep the file tree like this:\n",
"```\n",
"data\n",
Expand All @@ -2943,7 +2943,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"### 6.2 command line usage of replot"
"### Command line usage of replot"
]
},
{
Expand Down
10 changes: 5 additions & 5 deletions docs/singlecell_example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"### 1. Read Demo Data"
"### Read Demo Data"
]
},
{
Expand Down Expand Up @@ -316,7 +316,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"### 2. GSEA "
"### GSEA"
]
},
{
Expand Down Expand Up @@ -654,7 +654,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"### 3. DEG Analysis"
"### DEG Analysis"
]
},
{
Expand Down Expand Up @@ -858,7 +858,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"### 4. Over-representation analysis (Enrichr API)"
"### Over-representation analysis (Enrichr API)"
]
},
{
Expand Down Expand Up @@ -1054,7 +1054,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"### 5. Network Visualization"
"### Network Visualization"
]
},
{
Expand Down

0 comments on commit 52f9aa3

Please sign in to comment.