LieberInstitute / spatialDLPFC

spatialDLPFC project involving Visium (n = 30), Visium SPG (n = 4) and snRNA-seq (n = 19) samples
http://research.libd.org/spatialDLPFC/
16 stars 3 forks source link

Add tissue imperfections to R object + spatialLIBD app #137

Closed lcolladotor closed 1 year ago

lcolladotor commented 1 year ago
lcolladotor commented 1 year ago

Prashanti @prashanthi-ravichandran,

I talked with Nick @Nick-Eagles and he can help you a bit with this. Ideally, I want the SPE object that we'll share to have all the info on it.

Though well, I know that maybe we are dropping some tissue artifact spots along the way (like in the low library size filtering step), so they might not be on the final SPE. In any case, the repo should contain the CSV files with all the tissue artifact labels. Having the final SPE object contain the manually label artifacts will also be useful regardless if it's a subset.

We can talk more about this on Thursday.

lcolladotor commented 1 year ago

Do you have any updates on this @Nick-Eagles?

Nick-Eagles commented 1 year ago

I wrote working code to add the wrinkle and layer annotation to the SPE object here, and I'll aim to integrate/ move this code to your shiny deployment script as we discussed by the end of today. Are you still interested in putting the CSVs together as one CSV (my current code handles the files separately as I received them)?

lcolladotor commented 1 year ago

We don't need to put the CSVs together into one file. It's ok to have multiple ones. We do want to have a single R object though

Nick-Eagles commented 1 year ago

I updated (but did not fully run) the R script, which will add the colData columns wrinkle_type and manual_layer_label. Let me know if I should run the script (and overwrite the session info at the bottom) or help out with the deployment.

Nick-Eagles commented 1 year ago

I now see your slack comment about updating the lobstr info and documenting the new variable names, so I'll run the script and do that.

lcolladotor commented 1 year ago

Thanks Nick! Yup, let me know once you are done re-making this SPE object, thanks!

Nick-Eagles commented 1 year ago

It's ready to deploy!

lcolladotor commented 1 year ago

Cool, thanks Nick!