Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A Question of Demo Script #6

Open
KforKuma opened this issue Jun 1, 2021 · 1 comment
Open

A Question of Demo Script #6

KforKuma opened this issue Jun 1, 2021 · 1 comment

Comments

@KforKuma
Copy link

KforKuma commented Jun 1, 2021

I am a noob for bioinfo, especially on python. So this question might be a lil bit dumb.
I have tried the demo script of Readme.md, following the instruction step by step. My current Tensorflow version is 1.14.0 and python 3.6.2. I repeatedly meet a question when I go down to this line:

model = SCPHERE(n_gene=x.shape[1], batn_batch=[30, 3, 2],
z_dim=2, latent_dist='vmf', batch_invariant=False,
observation_dist='nb', seed=0)

The Error is:

Traceback` (most recent call last):
File "", line 3, in
TypeError: init() got an unexpected keyword argument 'batn_batch'

I have tried 'pip uninstall' and re-install tensorflow, re-install python for a proper version, and checked the variable and matrix but this error always recur. Did I miss something? I would be reallly thx for any suggestion.

BTW, if I want to embed a few batches of single cell data with scPhere, should I merge the expression matrix into one, and re-organize group info as batch_p/h/l ?

@Jerry001
Copy link
Contributor

Hi KforKuma,

Sorry for the late reply because I just checked repo. It seems that you have a typo in your command: batn_batch should be n_batch

Thanks. Please let me know if you have further questions.

Jiarui

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants