You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: setup.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@
5
5
6
6
setuptools.setup(
7
7
name='AnnSQL',
8
-
version='v0.9.4',
8
+
version='v0.9.5',
9
9
author="Kenny Pavan",
10
10
author_email="pavan@ohsu.edu",
11
11
description="A Python SQL tool for converting Anndata objects to a relational DuckDb database. Methods are included for querying and basic single-cell preprocessing (experimental). ",
Copy file name to clipboardExpand all lines: src/AnnSQL.egg-info/PKG-INFO
+19-19Lines changed: 19 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
Metadata-Version: 2.1
2
2
Name: AnnSQL
3
-
Version: 0.9.4
3
+
Version: 0.9.5
4
4
Summary: A Python SQL tool for converting Anndata objects to a relational DuckDb database. Methods are included for querying and basic single-cell preprocessing (experimental).
5
5
Home-page: https://github.com/kennypavan/AnnSQL
6
6
Author: Kenny Pavan
@@ -44,16 +44,16 @@ import scanpy as sc
44
44
adata = sc.datasets.pbmc68k_reduced()
45
45
46
46
#instantiate the AnnData object (you may also pass a h5ad file to the adata parameter)
47
-
adata_sql = AnnSQL(adata=adata)
47
+
asql = AnnSQL(adata=adata)
48
48
49
49
#query the expression table. Returns Pandas Dataframe by Default
50
-
adata_sql.query("SELECT * FROM X")
50
+
asql.query("SELECT * FROM X")
51
51
52
52
#query the observation table. Returns adata object.
53
-
adata_sql.query("SELECT * FROM obs", return_type="adata")
53
+
asql.query("SELECT * FROM obs", return_type="adata")
54
54
55
55
#query the join of 'X' and 'obs' table
56
-
adata_sql.query("SELECT * FROM adata", return_type="parquet")
56
+
asql.query("SELECT * FROM adata", return_type="parquet")
0 commit comments