summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--topics/genotype-database.gmi3
1 files changed, 2 insertions, 1 deletions
diff --git a/topics/genotype-database.gmi b/topics/genotype-database.gmi
index ea3db7c..5828b77 100644
--- a/topics/genotype-database.gmi
+++ b/topics/genotype-database.gmi
@@ -9,12 +9,13 @@ To convert a plain text GeneNetwork genotype file `BXD.geno` to a genodb genotyp
 ```
 => https://git.genenetwork.org/GeneNetwork/cl-gn cl-gn
 
-genenetwork3 includes a tiny Python library to read the built genodb database. Here is a sample invocation reading row 17 and column 13 from a database at `/tmp/bxd`.
+genenetwork3 includes a tiny Python library to read the built genodb database. Here is a sample invocation reading the entire matrix, row 17 and column 13 from a database at `/tmp/bxd`.
 ```
 from gn3 import genodb
 
 with genodb.open('/tmp/bxd') as db:
     matrix = genodb.matrix(db)
+    print(genodb.nparray(matrix))
     print(genodb.row(matrix, 17))
     print(genodb.column(matrix, 13))
 ```