美文网首页
课前准备----细胞“communities”

课前准备----细胞“communities”

作者: 单细胞空间交响乐 | 来源:发表于2024-07-29 15:34 被阅读0次

作者,Evil Genius

什么是cellular communities? identified regions of the heart that were spatially composed of distinct combinations of co-segregating cell populations (‘cellular communities’ (CCs)). Cellular neighbours for each cell of the heart were defined within a 150 µm radius, which represents a typical diffusion ‘zone’ for extracellular signalling molecules from an individual cell。文章Spatially organized cellular communities form the developing human heart | Nature

细胞社区(cellular communities)是基于距离中心细胞特定距离范围内不同细胞类型的局部密度区分的组织区域。




Graphical depiction of relationship between number of neighbors and neigh bor order

简单的代码

# packages
library(SeuratData)
library(Seurat)
library(banyan)
library(patchwork)

# load data
InstallData("stxBrain")
brain <- LoadData("stxBrain","anterior1")

# run Seurat processing steps
brain <- SCTransform(brain, assay = "Spatial", verbose = FALSE)
brain <- RunPCA(brain, assay = "SCT", verbose = FALSE)

# fit banyan model
brain_fit <- fit_banyan(seurat_obj = brain, K = 6)
save(brain_fit,file = paste0(data_dir,"brain_fit_banyan.RData"))
load(paste0(data_dir,"brain_fit_banyan.RData"))

# plot labels
plot_labels(brain_fit)

# calculate scores
brain_fit <- get_scores(brain_fit)

# plot uncertainty
plot_uncertainty(brain_fit)

# plot propensity
plot_propensity(brain_fit,k = 1) + plot_propensity(brain_fit,k = 2)

# plot connectivity matrix
plot_connectivity_matrix(brain_fit)

# plot connectivity interval
plot_connectivity_intervals(brain_fit) 

生活很好,有你更好

相关文章

  • 课前准备

    课前准备 下载chrome浏览器 下载sublime编辑器 编辑器使用 如何挑选编辑器? 代码高亮、轻快、丰富的插...

  • 课前准备

    课程即将开始....我们在作课前准备...今天实在很困,也很累!一切表达,请看图说话....晚安 课前准备

  • 课前准备

    课本,草稿纸,文具,相对应的练习册准备好,

  • 课前准备

    常春藤教育 QQ群397757166 一、参加“常春藤教育”QQ群 每位学员参加课程管理员设立的QQ群,QQ群包括...

  • 课前准备

    1、ppt 文件-选项-自定义功能-所有命令-右侧(新建)-重命名(布尔运算) 2、快速工具栏设置 3、原则遵循以...

  • 课前准备

    今天跑死我了,上午上了班就开始打扰办公室卫生,收拾好已经九点了,坐下开始打印上课要用的资料,这个公司是解决有钱人家...

  • 课前准备

    昨天几乎都在做上课的准备工作。 首先是测试了一下校园版,因为我们的课程更换到校园版上,而我有没有校园版可以测试的群...

  • 课前准备

    上课时间 2021年3月6号下午两点 地址:龙港镇西二街185号德轩海鲜小巷进去西二公寓3单元靠近河边慧至最强大脑...

  • 课前准备

    What do you need for tomorrow's class? 你明天的课程需要什么?Waterco...

  • 课前准备

    今天在两个班上课,要求学生拿出试卷和答案答题卡,不少同学可以很快拿出来,有几个学生到最后都没有找出来。这是很不好的...

网友评论

      本文标题:课前准备----细胞“communities”

      本文链接:https://www.haomeiwen.com/subject/mgkwhjtx.html