-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
proseg output support #32
Comments
The output does not match the standard output format of any commercial technology, unless you use Xenium Ranger to convert it and then use |
Thanks I gave it a try and haven't been able to create the SFE object. Here is what I did:
This is the error I get:
This is the error I get if I try without the geojson file:
I checked for dimnames and dim and it looks fine:
I have tried a couple of things but can't get it to work, would it be possible to send you the files so that you can take a look? |
Regarding this error:
Did Regarding the error:
You haven't supplied the What's the output of Another possible cause is that See the Geocomputation with R book to learn more about operations on |
Thanks I'll try this, I guess I just need to understand the object construction better. Are there any columns that are looked for that have to have harcoded values, like cell_id? |
The column name "cell_id" is just an example. Any name can be used, but there should be a column for cell IDs to match the cell metadata to the gene count matrix and to the cell segmentation polygons, unless you are already very sure that they are all in the same order in the cell metadata, gene count matrix, and polygons. |
It does seem that there is a slight missmatch between the cell id in the raw cellmeta and the names in the count matrix and segmentation. The rownames of expcounts (genes in columns and cells in rows in raw file) are a cell name starting in "1":
Whereas in cellmeta the 'cell' value starts at '0'
And the values in segmentation cell column are also starting at '0', so I'll try to match them all.
Thanks for the feedback I'll try again tomorrow with your suggestions. |
I think it's probably because of the gz. Do cellmeta and segmentation have the same number of rows, which should be the same as the number of columns in the gene count matrix? Also, when the rows are cells, the gene count matrix csv file might have an unnamed column for cell ID which are row names of the matrix. When it's unnamed, data.table reads it into R as the first column with name |
@cstrlln did it work for you to make the SFE object? |
@alikhuseynov I got side tracked trying another tool, so didn't test the suggestions yet but plan to try in the next couple weeks. I really think it might be the cell names though. |
ok, if you send us the output files or deposit them somewhere where we can download them, I will try to help making that SFE object. |
could you suggest how to appropriately import the output data from proseg into voyager?
https://github.com/dcjones/proseg
The text was updated successfully, but these errors were encountered: