Comments (6)
Hi,
createGiottoVisiumObject expects you to give the path to the visium folder, which should have the following structure:
visium_folder:
- filtered_feature_bc_matrix
- raw_feature_bc_matrix
- spatial
Depending on whether you want to start from the raw or already pre-filtered data you can then either select 'raw' or 'filter' for the expr_data parameter.
Currently, we don't support reading directly from the .h5 file. I'll take a look and see how easy it would be to add this feature.
R
from giotto.
I've looked into it and I have updated the createGiottoVisiumObject. It can now also accept .h5 files directly. This should make it easier to create a Giotto object from Visium data. You'll need to reinstall Giotto (needs v1.0.3).
input paths
h5_file ='/your/path/Data/Visium_data/Breast_cancer_A/V1_Breast_Cancer_Block_A_Section_1_filtered_feature_bc_matrix.h5'
loc_file ='/your/path/Data/Visium_data/Breast_cancer_A/spatial/tissue_positions_list.csv'
png_file ='/your/path/Data/Visium_data/Breast_cancer_A/spatial/tissue_lowres_image.png'
command
giotto_visium = createGiottoVisiumObject(h5_visium_path = h5_file,
h5_tissue_positions_path = loc_file,
h5_image_png_path = png_file)
Please let me know if it works or if you encounter any problems. Thanks
from giotto.
I made a typo yesterday, which led to an error, but that's fixed now.
from giotto.
Hello,
Thank you so much for fixing this and I apologize for not getting back to this sooner to test it. I tried re-installing Giotto v1.0.3 using remotes::install_github("RubD/[email protected]") but I get a download error:
Downloading GitHub repo RubD/[email protected]
Error in utils::download.file(url, path, method = method, quiet = quiet, :
cannot open URL 'https://api.github.com/repos/RubD/Giotto/tarball/v1.0.3'
Is there another way?
from giotto.
Sorry, that was my fault. The current master version already had this feature, so you can just follow the normal installation instructions. I forgot to actually 'release' v1.0.3. I did that now, so also your previous command should work, but v1.0.3 is the same as the current version.
from giotto.
Thank you so much! The createGiottoVisiumObject wasn't able to read the h5 file earlier despite re-installing, so I figured I needed to explicitly install v1.0.3. However, it's all fixed now, thanks so much for the prompt help always. Looking forward to test all the new functionalities that have been added since I last ran the spatial vignette.
from giotto.
Related Issues (20)
- createGiottoXeniumObject `path_list` not found error
- cellProximityEnrichment() gforce error probably due to insufficient memory
- plotRankSpatvsExpr errors with an unused argument HOT 1
- Unable to run doLeidenCluster HOT 1
- "filterGiotto unused arguments" AND "failed to initialize requested version of Python" HOT 3
- Error in overlapToMatrix
- About silhouetteRankTest
- I did not find the slice@minmax parameter, slice@minmax parameter, slice@boundaries parameter, etc. Where should I find them? HOT 1
- Error in stats::kmeans(x, centers = 2, nstart = nstart, iter.max = iter.max)
- Giotto installation Error: object 'get_dimReduction' is not exported HOT 2
- Error in createGiottoVisiumObject HOT 1
- Applying ext and spatShift tranformations on gobj HOT 2
- An empty giottoPoints object can corrupt the giotto obj HOT 4
- Error in DWLS deconvolution result with Pie plots HOT 2
- spatCellCellcom does not allow verbose='none' if do_parallel=TRUE
- spat/exprCellCellcom can return Inf/Inf- values that error plotCCcomDotplot HOT 1
- binSpect function error on large datasets
- error in installing Giotto HOT 2
- createGiottoCosMxObject: Error in cat HOT 2
- Creating Polygons with Interactive Selection Tool HOT 7
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 giotto.