-
Notifications
You must be signed in to change notification settings - Fork 19
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
How to subset cell types within a spatial annotation #177
Comments
Hi, try extract barcodes
plot results as proof of principle
Does that help? |
Hey, for some reason I only see your reply by mail not in this issue. But I'll answer here anyway. First of all: This error here...
...makes me believe that you are currently working in the master branch and not in the dev-branch. Because what causes this error does not exist any longer in the dev-branch. Can you make sure to have the dev-branch installed and loaded? The function If the error "Error in ma@mtr_proc[[nm]][, bcs_keep] : incorrect number of dimensions" remains during subsetting. Can you give me the output of |
Hi Milo lab,
Thanks very much for providing such a user-friendly tool for annotating spatial transcriptomics.
I've been attempting to isolate/subset specific cell types within a region of interest created with the
createImageAnnotations
function. The cell types are interest are from my previous Seurat-processed dataset, which I'm able to isolate successfully using thesubsetSpataObject
function. However, I cannot seem to isolate the regions of interest using a similar approach. I'm met with the following error :Which presumably is because the spatial annotation barcodes are pulled from a different part of the metadata.
Below is my code to get the error.
So far I have tried the following:
addMetaDataObs
error, and the object comes back as
I'm hopeful I can proceed with some form of subsetting or
asSeurat
option as I'll likely have to do this in the future with the object for CellChat analysis.Do you have any suggestions on how to proceed? Thanks as always!!
Sincerely,
Savannah
PS if context helps, I'm trying to isolate cells pre- and post-migration and perform DEG analysis between them and other genotypes.
The text was updated successfully, but these errors were encountered: