Skip to content

Commit

Permalink
ENVY-2 Testing examples.
Browse files Browse the repository at this point in the history
  • Loading branch information
bwbioinfo committed May 3, 2024
1 parent e590d19 commit e877c4c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 15 deletions.
13 changes: 6 additions & 7 deletions docs/src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,19 @@
CurrentModule = KEGGAPI
```

# KEGGAPI

Documentation for [KEGGAPI](https://github.com/bwbioinfo/KEGGAPI.jl).

[KEGG](https://www.genome.jp/kegg/)

```@contents
Pages = [
"man/functions.md",
"man/examples.md",
]
Depth = 2
```

# KEGGAPI

Documentation for [KEGGAPI](https://github.com/bwbioinfo/KEGGAPI.jl).

[KEGG](https://www.genome.jp/kegg/)


```@index
```
13 changes: 5 additions & 8 deletions docs/src/man/examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,20 @@ Querying the API for a simple conversion returns a list with:

This allows to easily convert to a data frame:

```@example
```@meta
using KEGGAPI
output = KEGGAPI.conv("eco", "ncbi-geneid");
using DataFrames
```

```@example
output = KEGGAPI.conv("eco", "ncbi-geneid");
DataFrame(
output.data,
output.colnames
)
```

```@example
using KEGGAPI
using DataFrames
output = KEGGAPI.conv("ncbi-geneid", "eco");
DataFrame(
output.data,
Expand All @@ -32,8 +33,6 @@ DataFrame(
```

```@example
using KEGGAPI
using DataFrames
output = KEGGAPI.conv("ncbi-proteinid", "hsa:10458+ece:Z5100");
DataFrame(
output.data,
Expand All @@ -42,8 +41,6 @@ DataFrame(
```

```@example
using KEGGAPI
using DataFrames
output = KEGGAPI.conv("genes", "ncbi-geneid:948364");
DataFrame(
output.data,
Expand Down

0 comments on commit e877c4c

Please sign in to comment.