BERMUDA icon indicating copy to clipboard operation
BERMUDA copied to clipboard

help in running BERMUDA

Open nnks-dev opened this issue 5 years ago • 6 comments

I don't know in which order to run a lot of code. Also, what part of the code should I change if I want to run my data on BERMUDA? This is a silly question, but I would appreciate it if you answered it.

nnks-dev avatar Dec 18 '19 07:12 nnks-dev

Hi, You could modify "main_pancreas.py" or "main_pbmc.py" to suit your own dataset given that your data has been pre-processed by Seurat for normalization and cluster identification and MetaNeighbor for cluster similarity. You could also use "R/pre_processing.R" for the pre-processing of Seurat and MetaNeighbor.

txWang avatar Dec 29 '19 19:12 txWang

Thank you for answering my question. I want to continue asking a question, can I do the same if I want to apply more than three datasets?

nnks-dev avatar Dec 30 '19 05:12 nnks-dev

Hi, Sure. BERMUDA supports multiple datasets for batch correction. You just need to modify the code accordingly and feed the pre-processed datasets as well as the MetaNeighbor similarity matrix into the algorithm.

txWang avatar Jan 02 '20 18:01 txWang

Thank you for answering hank you for answering. I'm sorry to ask a question many times, but please tell me how to get the mmd value.

nnks-dev avatar Jan 13 '20 09:01 nnks-dev

What is the difference between mmd and loss_transfer?

nnks-dev avatar Jan 13 '20 12:01 nnks-dev

Hi, In short, "loss_transfer" utilized mmd loss between pairs of similar clusters between different batches.

txWang avatar Jan 14 '20 03:01 txWang