摘要:
该函数类似c语言中的printf函数。 001、 result = 100 print(result) ## print函数可以直接输出变量的结果 print("result is :%d", result) ## print不能输出字符串 + 变量的组合 sprintf("result is :% 阅读全文
posted @ 2022-09-09 17:33
小鲨鱼2018
阅读(2998)
评论(0)
推荐(0)
摘要:
melt函数将“长数据”转换为“短数据”。 001、 指定单个ID library(reshape2) ID <- c(1,1,2,2) Time <- c(1,2,1,2) X1 <- c(5,3,6,2) X2 <- c(6,5,1,4) mydata <- data.frame(ID,Time 阅读全文
posted @ 2022-09-09 17:18
小鲨鱼2018
阅读(6379)
评论(0)
推荐(0)
摘要:
前期参考:https://www.jianshu.com/p/4f7aeae81ef1 001、 library(dplyr) library(Seurat) library(patchwork) pbmc.data <- Read10X(data.dir = "C:/Users/75377/Des 阅读全文
posted @ 2022-09-09 16:31
小鲨鱼2018
阅读(571)
评论(0)
推荐(0)

浙公网安备 33010602011771号