MELD icon indicating copy to clipboard operation
MELD copied to clipboard

Get aData object to process MELD graph parameters

Open Baboon61 opened this issue 3 years ago • 2 comments

Super interesting work and congratulations for the Nature Biotech !

I am trying to run your in depth tutorial on my own dataset and as recommended in your notebook, one should reprocess the graph parameters for the MELD algorithm because the best beta and knn parameters may vary according to dataset size and structure.

Running the meld.Benchmarker() I came across this function benchmarker.fit_graph(adata.X, knn=knn) where aData seems to be an agraph object to pass as input to the fit_graph function.

I did not find any information about how to get this object in your notebooks or in the manuscript. Can you help me get this object ? Thanks !

Baboon61 avatar Jun 03 '21 15:06 Baboon61

Oh that's an AnnData object: https://anndata.readthedocs.io, so adata.X is just the normalized counts matrix (n_cells by n_genes)

dburkhardt avatar Jun 03 '21 19:06 dburkhardt

benchmarker.fit_graph(data_libnorm, knn=knn) should do it then ,thanks !

Baboon61 avatar Jun 04 '21 07:06 Baboon61