The SpatialDecon library implements the SpatialDecon algorithm for mixed cell deconvolution in spatial gene expression datasets. (This algorithm also works in bulk expression profiling data.)
MIT License
33
stars
8
forks
source link
Confusing details in create_profile_matrix documentation #44
Hello!
While reading the documentation for the create_profile_matrix function, I notice it asks for a cell x gene matrix (which I understand as cells in rows).
However, when looking at the tutorial ("Use of SpatialDecon in a large GeoMx dataset with GeomxTools") it looks like it uses a gene x cell matrix (genes in rows).
I went and transposed my data and passed that as input, since it looks like your function makes an attempt to check that genes and cells are in the correct position in this part:
Hello! While reading the documentation for the create_profile_matrix function, I notice it asks for a cell x gene matrix (which I understand as cells in rows). However, when looking at the tutorial ("Use of SpatialDecon in a large GeoMx dataset with GeomxTools") it looks like it uses a gene x cell matrix (genes in rows). I went and transposed my data and passed that as input, since it looks like your function makes an attempt to check that genes and cells are in the correct position in this part:
But the function crashes in that part:
Is it possible that what the function actually uses is a gene x cell matrix (genes in rows) as opposed to what the documentation says?
Thank you!
Oscar