CFeregrino / scWGCNA

scWGCNA
GNU General Public License v3.0
54 stars 10 forks source link

Making pseudocells #11

Open Lumskie opened 2 years ago

Lumskie commented 2 years ago

Hi,

I am new to using this package and I was wondering if we can manipulate the code such that we can make the gene expression value of each cell as the average of nearest neighbours,let say 10 without changing the number of cells or cell ID.

Thank you!

CFeregrino commented 2 years ago

Hello, do you mean you want to have groups of nearest neighbors, let's say have group A with 6 nearest neighbors, and then make the expression of all those cells into the mean of the group? The pseudocells object outputs the identifiers of the cells that are aggregated into each pseudocell, which means you could actually recunstruct a digital expression matrix from it, if this is what you want. Just out of curiosity, why would you need this? I can't think of an application for such a matrix which the pseudocell expression matrix can't fulfill.