convert archr project to seurat v4 #2208
Unanswered
A-legac45
asked this question in
Questions / Documentation
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, @rcorces @jeffmgranja @jgranja24 @keyuxi
I would llke to copy my entire ARCHR project cluster, embedding, umap ... into a seurat object but I do not succed to copy embeddings
I try many things but without success :
such as
code
Extraire toutes les matrices disponibles
all_matrices <- lapply(matrices, function(mat) {
getMatrixFromProject(project_Peaks_RES0.9_subcluster, useMatrix = mat, binarize = TRUE)
})
Nommer les matrices extraites pour identification
names(all_matrices) <- matrices
Extraire tous les embeddings disponibles
embeddings <- c("UMAP_ATAC", "UMAP_RNA") # Ajouter d'autres embeddings si disponibles
all_embeddings <- lapply(embeddings, function(emb) {
getEmbedding(project_Peaks_RES0.9_subcluster, embedding = emb)
})
TEST POUR UNE MATRIX
geneScoreMatrixtest <- assay(geneScoreMatrix)
Beta Was this translation helpful? Give feedback.
All reactions