Skip to content
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

Help with RDS files for early and late AD and error #2

Open
Chrisdoan9 opened this issue Dec 3, 2024 · 0 comments
Open

Help with RDS files for early and late AD and error #2

Chrisdoan9 opened this issue Dec 3, 2024 · 0 comments

Comments

@Chrisdoan9
Copy link

Chrisdoan9 commented Dec 3, 2024

Hi swaruplabUCI,

This is the most well organized GitHub page of a paper I have ever seen. I try to run the file celltrek_parrallel.R but got this error.

ct_train <- CellTrek::traint(
  st_data=cur_vis,
  sc_data=cur_seurat,
  sc_assay='RNA',
  cell_names="cell_type"
)
Error in dimnames(x) <- dn : 
  length of 'dimnames' [1] not equal to array extent

I try to match the same gene length but still got the same error:

print(dim(cur_vis))
[1] 25536  3283
> print(dim(cur_seurat))
[1] 25536  8067

It seem I need to provide a path to a seurat object like vis_file = "/path/to/visium_seurat.rds". I looked on GEO GSE233208 but could not find RDS files for early and late AD. I saw RDS file for ADDS. Would you please have a look? Thank you so much!

@Chrisdoan9 Chrisdoan9 changed the title Help with seurat_vis <- readRDS(file=vis_file) Error in gzfile(file, "rb") : invalid 'description' argument RDS files for early and late AD Dec 9, 2024
@Chrisdoan9 Chrisdoan9 changed the title RDS files for early and late AD Help with RDS files for early and late AD and error Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant