jaydu1 / scVAEIT

Variational autoencoder for single-cell integration and transfer learning.
MIT License
6 stars 0 forks source link

Missing data for tutorial and question about config #1

Closed clee700 closed 1 year ago

clee700 commented 1 year ago

Hello, thank you for your work with mosaic integration. I was attempting to run the demo, but found the 'dogma_cite_asap.h5' file is not in the data file. Could you please upload it?

I also had a question about the configuration. Could you please explain the parameters listed, particularly dist_block (what distributions are available for use?) and dim_block_enc and dim_block_dec?

Additionally, for the betas and p_feat and p_modal, are those parameters that I should adjust for my dataset, and if so how can I select these?

config = { 'dim_input_arr': dim_input_arr, 'dimensions':[256], 'dim_latent':32, 'dim_block': np.append([len(gene_names),len(ADT_names)], chunk_atac), 'distblock':['NB','NB'] + ['Bernoulli' for in chunk_atac], 'dim_blockenc':np.array([256, 128] + [16 for in chunk_atac]), 'dim_blockdec':np.array([256, 128] + [16 for in chunk_atac]), 'blocknames':np.array(['rna', 'adt'] + ['atac' for in range(len(chunk_atac))]), 'uni_block_names':np.array(['rna','adt','atac']), 'dim_blockembed':np.array([16, 8] + [1 for in range(len(chunk_atac))])*2,

'beta_kl':1.,
'beta_unobs':2./3.,
'beta_modal':np.array([0.14,0.85,0.01]),
'beta_reverse':0.,

"p_feat" : 0.2,
"p_modal" : np.ones(3)/3,

}

Thank you!

jaydu1 commented 1 year ago

Hi,

Thanks for the question.

For the data, you could follow the instructions in the data folder to get file dogma_cite_asap.h5. Due to the restriction on file sizes on Github, unfortunately I cannot upload it. If you can provide an email address, I can share it with you through Google Drive.

Network parameters

In the example, basically, the network is operated in two levels of blocks:

We explain the parameters as below:

Hyperparameters

Some of the important hyperparameters are:

In our experiments, the results were not sensitive to the above parameters. So you can just use reasonable values as in the example, except the following parameter requires some care depending on your data:

Let me know if you have any question.

esb5324 commented 1 year ago

Hello, thank you for this response. I tried to run preprocess_data.py, but it didn't look like the file DOGMA_pbmc.h5 was in the data folder. Or, I would be grateful if I could have the file dogma_cite_asap.h5 over Google Drive - my email is esb5324@psu.edu.

jaydu1 commented 1 year ago

I have shared the file. Let me know in case you didn't get it.

Close the issue for now.

esb5324 commented 1 year ago

Thanks very much!

Elle Tang Pronouns: she/her/hers Statistics Ph.D. student


From: Du Jinhong @.> Sent: Wednesday, August 23, 2023 8:07 PM To: jaydu1/scVAEIT @.> Cc: Tang, Elle Salina @.>; Comment @.> Subject: Re: [jaydu1/scVAEIT] Missing data for tutorial and question about config (Issue #1)

You don't often get email from @.*** Learn why this is importanthttps://aka.ms/LearnAboutSenderIdentification

I have shared the file. Let me know in case you didn't get it.

Close the issue for now.

— Reply to this email directly, view it on GitHubhttps://github.com/jaydu1/scVAEIT/issues/1#issuecomment-1690797784, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANQQ3YNJLNQATTUEYC4MHILXW2LMVANCNFSM6AAAAAAX5ARGSA. You are receiving this because you commented.Message ID: @.***>