-
Notifications
You must be signed in to change notification settings - Fork 6
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
Error in RenameGenesSeurat #78
Comments
Hey JH, thanks and sorry for the trouble. Very busy these days, try to address it next week. //A |
Thanks for your help. I solved my problem using other methods. I'm writing my solution here in case anyone needs it in the future. library(nichenetr)
library(Seurat)
exp_mtx <- as.matrix(Tcells1@assays$RNA@data)
con_df <- data.frame(mouse = rownames(exp_mtx),
hum_orig = convert_mouse_to_human_symbols(rownames(exp_mtx)),
stringsAsFactors = F)
con_df <- con_df[!is.na(con_df$hum_orig),,F]
exp_mtx <- exp_mtx[con_df$mouse,]
rownames(exp_mtx) <- con_df$hum_orig
human_SO <- CreateSeuratObject(counts = exp_mtx, meta.data = Tcells1@meta.data ) |
Hi, I'm getting the same error, is there a way to do this with generating a new matrix with the new names? I'm using a dataset I downloaded as an
I'm not sure were is the features slots being called by the function. |
Hi, thank you for the wonderful function!
I met the same problem as jenellewallace.
The text was updated successfully, but these errors were encountered: