Comments (5)
setting up hchannel=True on preprocess_image (#31 run_starfysh error with poe argument) works but the image looks horrible:
from starfysh.
Hi @Jorges1000,
Thanks for using Starfysh! We'll try to reproduce the RGB dimension error you reported and get back later (will release a new version if it's a confirmed package error).
For your follow-up question with 1-D PoE, Starfysh performs H&E color deconvolution to pick only hematoxylin channels via histomicstk
link, where we empirically found the positive correlations between H
-channel and cell density.
From the uploaded image, the color segmentation picks up a lot of background noise distribution (repeated white blobs) + fiducial points (boundary black dots). However, Starfysh only input pixel patches mapped with valid Visium coordinates (img_metadata['map_info'][['imagerow', 'imagecol']]
) while most of the background values should be dropped. Does your raw tissue consist of four separate tissues?
from starfysh.
Hi, thanks for the reply, it seems to be enhancing small differences in the background of the slide. Here is the source image:
from starfysh.
And here is the estimated tissue density; it seems that the background is affecting it more than cell density
from starfysh.
Thanks for the follow-up. We fixed the RGB issues and you can install through the GitHub version to run histology integration. I also looked into the 1D PoE: the Haematoxylin channel might either captures nucleus or the background depending on the color comparison w/ background (examples attached). We might extend it as a user option whether to flip the 1D intensities.
Please let me know which intensity preprocessing setup makes more sense to you?
from starfysh.
Related Issues (20)
- Data availability HOT 4
- Can't Access Signature Gene sets HOT 1
- bug in find_archettypal_spots when major=True HOT 2
- Xenium data HOT 1
- run_starfysh() got an unexpected keyword argument 'patience' HOT 1
- run_starfysh error with poe argument HOT 3
- starfysh/AA.py:230 IndexError: index 1172 is out of bounds for axis 0 with size 1162 HOT 1
- Issue with utils.VisiumArguments HOT 1
- AttributeError: 'VisiumArguments' object has no attribute 'sig_mean_znorm' HOT 2
- A more complete tutorial is needed HOT 2
- ERROR: Cannot install large-image and large-image[sources]==1.0.0 because these package versions have conflicting dependencies. HOT 2
- Error when using 'utils_integrate.run_starfysh' HOT 1
- advice for making a custom signature matrix HOT 2
- Normalization of Images HOT 5
- Potential Bug in `IntegrativeDataset` HOT 1
- Initializing model parameters... HOT 1
- Compatibility with Visium HD data? HOT 8
- Spots without deconvolution output? HOT 1
- Feature request: enhance plot_spatial_gene HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from starfysh.