Entering edit mode
Hi, I have been playing around with the read10xMolInfo.
What I am looking for is a simple solution wherein I can convert the .h5 file into an R data frame or data table and have gene names added as a separate columns or as row names.
I came up with this solution but wondering if this works?
I am assuming here that the genes are indexed.
Meaning: Gene ID in position 1 (in the gene list) corresponds to the gene ID labels = 1 in the mol.info table.
mol.info <- read10xMolInfo(mol.info.file.h5)
mol.info.df <- mol.info$data %>% data.frame()
molecule.df.gene.name <- mol.info.df%>%
mutate(Gene = mol.info$genes[gene])
Initially posted to https://github.com/MarioniLab/DropletUtils/issues/104
Thanks for sharing this link. I also have the same problem
Great solution. It solved my problem. Thanks
Thanks for providing answer. applebees
Hpefully! it would be helpful. ehall pass login
For more info visit us on R350 status check