shangll123 / SpatialPCA

Spatially aware dimension reduction for spatial transcriptomics.
40 stars 9 forks source link

When I run the step 'CreateSpatialPCAObject', the cell count of DLPFC151510 changed from 4634 to 4633. #14

Closed cowwcat closed 4 months ago

cowwcat commented 4 months ago

When running with both the data downloaded from the LIBD and the data you provided, this situation occurred. There were no issues with other datasets. I'm curious to understand why this is happening and if there's a solution. Looking forward to your assistance. 20240530164152

shangll123 commented 4 months ago

Hello,

This is because we have filtering steps embedded within this function. We filtered out genes expressed in less than 20 locations, and locations with less than 20 genes expressed (details in the paper). Hope this helps.

Best, Lulu