Closed Chuang1118 closed 1 year ago
hello,
integrate_assays <- function(seurat_obj,
assay_specific = TRUE,
assay_var = "assay",
shared_hvg,
n_dim = 30
) {
if (assay_specific) {
seurat_obj <- seurat_obj %>%
ScaleData(features = shared_hvg) %>%
RunPCA(features = shared_hvg) %>%
RunHarmony(group.by.vars = assay_var, reduction = "pca", dims = 1:n_dim)
} else {
seurat_obj <- seurat_obj %>%
ScaleData() %>%
RunPCA()
}
seurat_obj
}
This issue come from RunHarmony (package harmony). Solution: In dockerfile add this line before install SLOcatoR
RUN Rscript -e 'library(devtools);devtools::install_github("https://github.com/eddelbuettel/harmony")'
More details see: https://github.com/immunogenomics/harmony/issues/169
Chuang
Hello SLOcatoR team,
Great work Tonsil Atlas.
Currently, I am working small dataset tonsil. I want transfer label using 20220215_tonsil_atlas_rna_seurat_obj.rds.
I am following tutorial, but I get error message in step of integrate_assays.
an error message:
How should I handle it? Thank you
Chuang