condiments Paper • condimentsPaper

First example: TGF-beta dataset • bioc2021trajectories

slingshot requires a minimum of two inputs: (1)a matrix representing the cells in a reduced-dimensional space. (2)a vector of cluster labels.

主要步骤:

(1)getLineages function to identify global lineage structrue by construsting MST on the clusters

(2)getCurves function to construct smooth curves and infer the psudotime variable

  • simulated dataset 1 (single trajectory) and dataset 2 (bifurcating)
#####dataset1
# generate synthetic count data representing a single lineage
means <- rbind(# non-DE genesmatrix(rep(rep(c(0.1,0.5,1,2,3), each = 300),100),ncol = 300, byrow = TRUE),# early deactivationmatrix(rep(exp(atan( ((300:1)-200)/50 )),50), ncol = 300, byrow = TRUE),# late deactivationmatrix(rep(exp(atan( ((300:1)-100)/50 )),50), ncol = 300, byrow = TRUE),# early activationmatrix(rep(exp(atan( ((1:300)-100)/50 )),50), ncol = 300, byrow = TRUE),# late activationmatrix(rep(exp(atan( ((1:300)-200)/50 )),50), ncol = 300, byrow = TRUE),# transientmatrix(rep(exp(atan( c((1:100)/33, rep(3,100), (100:1)/33) )),50), ncol = 300, byrow = TRUE)
)
counts <- apply(means,2,function(cell_means){total <- rnbinom(1, mu = 7500, size = 4)rmultinom(1, total, cell_means)
})
rownames(counts) <- paste0('G',1:750)
colnames(counts) <- paste0('c',1:300)
sce <- SingleCellExperiment(assays = List(counts = counts))#####dataset2
library(slingshot, quietly = FALSE)
data("slingshotExample")
rd <- slingshotExample$rd
cl <- slingshotExample$cldim(rd) # data representing cells in a reduced dimensional space

【slingshot】trajectory inference相关推荐

  1. 【2021-12-22】【Kotlin】Type inference failed. Expected type mismatch: inferred type is HashSet but Set

    类似这样的错误提示: Type inference failed. Expected type mismatch: Inferred type is HashSet<String>? bu ...

  2. 【全文翻译】Membership Inference Attacks Against Machine Learning Models

    针对机器学习模型的成员推理攻击 I. INTRODUCTION II. MACHINE LEARNING BACKGROUND (机器学习背景) III. PRIVACY IN MACHINE LEA ...

  3. 【文章思路、算法分析】Membership Inference Attacks Against Machine Learning Models

    白菜苗 1.成员推理攻击目的 2.阴影模型构建 3.攻击模型的构造 4.算法分析 5.总结 如果你不小心又亦或是专门寻找这篇文献相关知识,那么很高兴能和你们分享这篇文章. 何谓成员推理攻击,陌生而又抽 ...

  4. 【slingshot and tradeSeq】differential analysis between different lineages

    tradeSeq是同一团队做的R包,主要功能有: (1)比较不同conditions的lineages.例如一组mock stimulation, 一组TGF stimulation,检验两个line ...

  5. 【ECCV2020】Spatio-Temporal Graph Transformer Networks for Pedestrian Trajectory Prediction

    [ECCV2020]用于行人轨迹预测的时空图 Transformer 网络 摘要 了解人群运动动力学对于现实世界的应用至关重要,例如监控系统和自动驾驶.这是具有挑战性的,因为它需要对具有社会意识的人群 ...

  6. 【总结】为什么对累积奖励减去baseline项能起到减小方差的作用?

    深度强化学习实验室 论坛:http://deeprlhub.com/ 来源:https://zhuanlan.zhihu.com/p/98506549 作者: 风清云 很多论文的工作都专注于减少pol ...

  7. 【camera】YOLOV7实现实例分割+目标检测任务(训练、测试、量化、部署)

    [camera]YOLOV7实现实例分割+目标检测任务 代码下载地址 训练.测试.量化.部署代码 训练 For training, quite simple, same as detectron2: ...

  8. 【FPGA】Buffer专题介绍(二)

    目录 背景 IBUF IBUFDS IBUFG IBUFGDS 背景 这篇博文是下面这篇博文的继续: [FPGA]Buffer专题介绍(一) 但介绍方式我想放的更自由一点,要不然就是官方文档了. IB ...

  9. 【FPGA】Buffer专题介绍(一)

    目录 背景 BUFG BUFGCE BUFGCE_1 BUFGMUX and BUFGMUX_1 BUFGP BUFH BUFIO2 BUFIO2FB 背景 在数据手册 Spartan-6 Libra ...

最新文章

  1. 【Linux学习笔记】 - 什么是Linux?
  2. C# 根据节点索引访问XML配置文件
  3. iOS Xcode 项目重命名
  4. Spring4新特性——集成Bean Validation 1.1(JSR-349)到SpringMVC
  5. java k线绘制,用Java绘制K线图[Java编程]
  6. css expressionr,CSS自定义属性expression_r
  7. Maven入门指南② :Maven 常用命令,手动创建第一个 Maven 项目
  8. 华为升级harmonyos的机型名单,华为鸿蒙 OS 2.0 系统适配名单已出,四月推送,天玑机型暂时无缘...
  9. Helm 3 完整教程(七):Helm 函数讲解(1)逻辑和流控制函数
  10. CF1399E1 Weights Division (easy version)
  11. python好玩的代码-python有趣的一行代码
  12. 网络的高可用性(一)
  13. 二十年间的失败软件和系统
  14. 金笛邮件倒入专题之Umail倒入
  15. (PTA)数据结构(作业)6、队列
  16. 计算机基础应用在线模拟考试,计算机应用基础模拟试卷一与答案.pdf
  17. 固件类型bios和uefi_BIOS和固件之间有什么区别?
  18. SQLyog Ultimate 13.2 Crack
  19. 【MySQL】MySQL用 limit 为什么会影响性能?
  20. 2021-08-10第一章绪论1.1统计学与医学统计学

热门文章

  1. 控制直流电机设计常用方法
  2. Vue中的的坑(二)——组件的包裹:div
  3. 计算机视觉知识点整理(上) 基础篇(持续更新)
  4. GeoIP2数据库——根据ip确定国家/地区,过滤某区域ip
  5. 新睿云技术分享——个人站点搭建教程
  6. setsockopt详解
  7. Twitter开源时间线推荐架构整理(Twitter‘s Recommendation Algorithm)
  8. lpc matlab 预测,LPC特征提取 matlab
  9. datatable跨页全选
  10. ContentProvider相关