pinellolab / singlecellvr

13 stars 4 forks source link

Update converters.py #3

Closed mvinyard closed 4 years ago

mvinyard commented 4 years ago

I fixed two things in this branch.

  1. import of matplotlib.cm was absent; it would not work when I import globally in the script, so I placed it within the function
  2. for reading the adata object, the default is to read from "adata.raw.X, adata.raw.obs, adata.raw.var" - I changed this, removing ".raw" because I wasn't sure if all adata files will have that / is that what people want to plot? I could be wrong on this.
mvinyard commented 4 years ago

Gotcha! Thanks for the clear-up. I didn't actually realize that.