数据来源于GSE117988:
运行了如下code(注:**代表我的文件路径,没有中文,没有禁用符号):
setwd("**") ##注意工作目录 library(Seurat) ##version 3.0 library(dplyr) new_counts <- read.table(file="****.csv") head(new_counts) mydata <- CreateSeuratObject(counts = new_counts, min.cells = 3, project = "mydata_scRNAseq")
出现了警告信息: In storage.mode(from) <- "double" : NAs introduced by coercion
我检查了数据,未发现有空格,除了这里有一个空格
查阅资料,修改为“read.table(file = , header = T, row.names=1, sep="", as