当前位置:网站首页>Seurat转h5ad总结
Seurat转h5ad总结
2022-06-26 15:02:00 【qq_45759229】
# 安装并加载 SeuratData中的pbmc3k数据集
# library(SeruatData)
# 1.---->install.packages("/Users/xiaokangyu/Desktop/单细胞学习/单细胞数据集/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/单细胞学习/单细胞数据集/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")
边栏推荐
- RestCloud ETL抽取动态库表数据实践
- Function: crypto JS encryption and decryption
- Sikuli 基于图形识别的自动化测试技术
- R language uses ggplot2 to visualize the results of Poisson regression model and count results under different parameter combinations
- TCP congestion control details | 1 summary
- Unity C# 网络学习(九)——WWWFrom
- The tablestack function of the epidisplay package of R language makes a statistical summary table (descriptive statistics of groups, hypothesis test, etc.), does not set the by parameter to calculate
- 【ceph】CephFS 内部实现(二):示例--未消化
- R语言caTools包进行数据划分、scale函数进行数据缩放、class包的knn函数构建K近邻分类器
- Unity C # e-learning (10) -- unitywebrequest (1)
猜你喜欢
随机推荐
php文件上传00截断
clustermeet
北京银行x华为:网络智能运维夯实数字化转型服务底座
10 minutes to understand bim+gis fusion, common BIM data formats and characteristics
数据库-完整性约束
TCP拥塞控制详解 | 1. 概述
【TcaplusDB知识库】TcaplusDB系统用户组介绍
TCP congestion control details | 1 summary
TS常用数据类型总结
Redis cluster re fragmentation and ask command
杜老师说网站更新图解
功能:crypto-js加密解密
TCP 复位攻击原理
PHP file upload 00 truncation
redis集群的重新分片与ASK命令
Sikuli 基于图形识别的自动化测试技术
There are so many vulnerabilities in tcp/ip protocol?
数据库-序列
R language uses GLM function to build Poisson logarithm linear regression model, processes three-dimensional contingency table data to build saturation model, uses step function to realize stepwise re
【TcaplusDB知识库】TcaplusDB常规单据介绍








