View source: R/read_loom_and_analyze.R
read_loom_and_analyze | R Documentation |
This function requires loom and h5ad files from FlyCellAtlas and process them into Seurat objects. It then also re-analyze them to get the full gene-expression matrix and not only the extract marker genes and also get further information.
read_loom_and_analyze( loom_file = "./loom/s_fca_biohub_body_wall_10x.loom", h5ad_file = "./loom/s_fca_biohub_body_wall_10x.h5ad", plot = T, dir = "./" )
loom_file |
character with Name and directory of loom file |
h5ad_file |
character with Name and directory of h5da file |
plot |
Boolean indicating if plots should be generated |
dir |
Directory to save RData and plots in |
It saves old and new Seurat onjects along with marker genes and metadata. *"_h5" is seurat object from the paper, this only has most variable genes
*"_new" is the new seurat object
*"_new_markers" is all.marker genes from the new seurat object with all genes
*"_paper_markers" is all.marker genes from the paper
*,"_matadata" is the metadata
There are examples in the folder names "./loom". To run it: read_loom_and_analyze(loom_file = "~/Documents/scripts/FlyCellAtlas_download_with_annotations/loom/s_fca_biohub_body_wall_10x.loom")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.