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 e877c4c commit 2a2d555
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/src/man/examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,36 +11,36 @@ Querying the API for a simple conversion returns a list with:

This allows to easily convert to a data frame:

```@meta
```@setup examples
using KEGGAPI
using DataFrames
```

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

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

```@example
```@example examples
output = KEGGAPI.conv("ncbi-proteinid", "hsa:10458+ece:Z5100");
DataFrame(
output.data,
output.colnames
)
```

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

0 comments on commit 2a2d555

Please sign in to comment.