Closed ncedi12 closed 5 months ago
Hi ncedi12,
Thank you for using CellphoneDB.
On counts_file_path = 'seuratdata/MB_counts_mtx.mtx', please see the function _read_mtx() definition in https://github.com/ventolab/CellphoneDB/blob/master/cellphonedb/utils/file_utils.py and https://cellphonedb.readthedocs.io/en/latest/RESULTS-DOCUMENTATION.html#counts-file. What you need to pass as value of counts_file_path argument the name of the directory with mtx/barcode/features files inside it.
Hope that helps.
Best,
Robert.
Thank you kindly for correcting this oversight. Problem solved.
👍
Hi there, I'm trying to use CellPhoneDB following the notebook vignettes. The data is from a seurat object and used your vignette to extract relevant data to pass onto cpdb. I'm relatively new to python so forgive me if this is a basic error that O can't see. I tried to follow the vignette rather specifically for this reason.
inputted file formats as follows:
cpdb_file_path = 'v5.0.0/cellphoned' # we chose built and renamed database opposed to .zip.. let's see meta_file_path = 'seuratdata/MB_meta.tsv' counts_file_path = 'seuratdata/MB_counts_mtx.mtx' degs_file_path = 'seuratdata/MB_DEGs.tsv' out_path = 'results/deg_method'
checked correlation of data
Anyone who might help?