Closed yiranzhimo closed 1 year ago
Are the HK_filtered genes in the gene list of PRECASTObj@seulist (the selected variable genes, the row.names of seulist[[1]])? In the current version of PRECAST, it use the housekeeping genes in the selected vairable genes to correct batch effects in expression.
Check whether the gene names in your PRECASTObj is symbol names? It must be symbol name so that the intersection of selected variable genes and Mouse_HK_genes$Gene is a nonempty set.
Hello, Thank you for your hard work which helped me a lot. But I have met a problem.
When running the IntegrateSpaData step without specific HK genes, it works well.
If I set the specific HK genes, an error occurs which means:
I's definitely sure all the genes in HK_filtered also in the Mouse_HK_genes$Gene
unique(HK_filtered == intersect(HK_filtered,Mouse_HK_genes$Gene))
Thank you for your help!