当前位置:网站首页>Seurat to h5ad summary
Seurat to h5ad summary
2022-06-26 15:20:00 【qq_ forty-five million seven hundred and fifty-nine thousand tw】
# Install and load SeuratData Medium pbmc3k Data sets
# library(SeruatData)
# 1.---->install.packages("/Users/xiaokangyu/Desktop/ Single cell learning / Single cell datasets /pbmc_3k/pbmc3k.SeuratData_3.1.4.tar.gz",repos=NULL,type="source")
# 2.---->library(pbmc3k.SeuratData)
# 3.---->pbmc3k=LoadData("pbmc3k")
rm(list=ls())
setwd("/Users/xiaokangyu/Desktop/ Single cell learning / Single cell datasets /pbmc_3k/")
library(Seurat)
suppressMessages(library(SeuratDisk))
library(SeuratData)
## create Seurat object
#pbmc3k <- CreateSeuratObject(data,meta.data = label)
library(pbmc3k.SeuratData)
pbmc3k=LoadData("pbmc3k")
pbmc3k@meta.data$seurat_annotations=as.character(pbmc3k@meta.data$seurat_annotations)
SaveH5Seurat(pbmc3k, filename = "pbmc3k.h5Seurat")
Convert("pbmc3k.h5Seurat", dest = "h5ad")
边栏推荐
- 【ceph】cephfs caps简介
- Talk about the recent situation of several students from Tsinghua University
- [CEPH] cephfs internal implementation (IV): how is MDS started-- Undigested
- redis集群的重新分片与ASK命令
- Database - integrity constraints
- Vsomeip3 dual computer communication file configuration
- 【ceph】cephfs的锁 笔记
- 一键分析硬件/IO/全国网络性能脚本(强推)
- Pod of kubernetes
- 【ceph】CephFS 内部实现(二):示例--未消化
猜你喜欢
随机推荐
[CEPH] cephfs internal implementation (I): Concept -- undigested
【TcaplusDB知识库】TcaplusDB单据受理-事务执行介绍
Optimizing for vectorization
PHP file upload 00 truncation
Database - sequence
vsomeip3 双机通信文件配置
【C语言练习——打印空心上三角及其变形】
php文件上传00截断
5 figures illustrate the container network
Pytorch深度学习代码技巧
Using restcloud ETL shell component to schedule dataX offline tasks
Analysis of ble packet capturing debugging information
一键分析硬件/IO/全国网络性能脚本(强推)
安全Json协议
The heavyweight white paper was released. Huawei continues to lead the new model of smart park construction in the future
【ceph】CEPHFS 内部实现(一):概念篇--未消化
买股票通过券商经理的开户二维码开户资金是否安全?想开户炒股
Notes on brushing questions (19) -- binary tree: modification and construction of binary search tree
Redis cluster
10 minutes to understand bim+gis fusion, common BIM data formats and characteristics