Closed CharleneZ95 closed 3 years ago
The hero we deserve. This really needs to be implemented into the main branch. Text files are not sustainable.
Looks like the project is completely dead, which is a shame. Maybe someone will have the time to maintain an up-to-date fork in the future.
Just a simple correction:
The lines like
writeLines(features, file = 'features.tsv')
need to look like this:
writeLines(features, con= 'features.tsv')
Merged and fixed in #264
Dear CellPhoneDB Team, Since writing a large dataset to txt is a time-consuming task, see #138. I added a functionality to load
.mtx
(Matrix Market) file.Example using .mtx as input:
Where
input_dir
is the directory containing the matrix.mtx, features.tsv, and barcodes.tsv files.Using following code to generate input files in R:
Where
expr_data
is the data matrix with row (genes) and column (cells) labels.