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
I am trying to make a circle plot using the li.plotting.circle_plot call as follow
p = li.plotting.circle_plot(adata, liana_res=lr_res, groupby=clustCol)
I get
Traceback (most recent call last):
File "", line 1, in
File "/home/project/.conda/envs/Liana+/lib/python3.10/site-packages/liana/plotting/_circle_plot.py", line 178, in circle_plot
liana_res = _prep_liana_res(
File "/home/project/.conda/envs/Liana+/lib/python3.10/site-packages/liana/plotting/_common.py", line 32, in _prep_liana_res
liana_res = _get_liana_res(adata, liana_res, uns_key)
File "/home/project/.conda/envs/Liana+/lib/python3.10/site-packages/liana/plotting/_common.py", line 15, in _get_liana_res
assert uns_key in adata.uns.keys()
AssertionError
The adata.uns is
OrderedDict([('log1p', {'base': None})])
The default uns_key in the function is 'liana_res', which is not present in my adata.
Am I supposed to add it before calling the circle_plot function ?
Also, could you please explain the option filter ?
Thanks
The text was updated successfully, but these errors were encountered:
Hi,
I am trying to make a circle plot using the li.plotting.circle_plot call as follow
p = li.plotting.circle_plot(adata, liana_res=lr_res, groupby=clustCol)
I get
Traceback (most recent call last):
File "", line 1, in
File "/home/project/.conda/envs/Liana+/lib/python3.10/site-packages/liana/plotting/_circle_plot.py", line 178, in circle_plot
liana_res = _prep_liana_res(
File "/home/project/.conda/envs/Liana+/lib/python3.10/site-packages/liana/plotting/_common.py", line 32, in _prep_liana_res
liana_res = _get_liana_res(adata, liana_res, uns_key)
File "/home/project/.conda/envs/Liana+/lib/python3.10/site-packages/liana/plotting/_common.py", line 15, in _get_liana_res
assert uns_key in adata.uns.keys()
AssertionError
The adata.uns is
OrderedDict([('log1p', {'base': None})])
The default uns_key in the function is 'liana_res', which is not present in my adata.
Am I supposed to add it before calling the circle_plot function ?
Also, could you please explain the option filter ?
Thanks
The text was updated successfully, but these errors were encountered: