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

Question about v5 update #347

Open
shiave opened this issue Dec 27, 2024 · 1 comment
Open

Question about v5 update #347

shiave opened this issue Dec 27, 2024 · 1 comment
Labels
question Further information is requested

Comments

@shiave
Copy link

shiave commented Dec 27, 2024

Hi, in another response, you mentioned that hdWGCNA was updated to work for seurat v5. I am getting this error:

rds <- readRDS("...")
head(rds) 
rdsveh <- subset(rds, subset = group %in% c('AV', 'AM'))
seurat_obj <- SetupForWGCNA(
  rdsveh,
  wgcna_name = "tutorial" # the name of the hdWGCNA experiment
)

Error in SelectNetworkGenes(seurat_obj, wgcna_name = wgcna_name, ...) :
No genes found

Any ideas?

@shiave shiave added the question Further information is requested label Dec 27, 2024
@shiave
Copy link
Author

shiave commented Dec 27, 2024

Ok once I run these two lines, the error is removed but I get a warning.
rdsveh <- NormalizeData(rdsveh)
rdsveh <- FindVariableFeatures(rdsveh, selection.method = "vst", nfeatures = 2000)
Warning in LayerData.Assay5(object = object[[assay]], layer = layer, ...) :
multiple layers are identified by counts.1 counts.2 counts.3 counts.4 counts.5 counts.6
only the first layer is used

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant