空转第7课MIA的内容补充

本文介绍了MIA在空间转录组学中的应用,结合两个研究文章展示了其在疾病严重性分层和胰腺导管腺癌组织结构解析中的作用。同时,提供使用示例数据的初步实现效果,并分享了相关的空间转录组分析方法,如细胞聚类、共定位和高级绘图等。
摘要由CSDN通过智能技术生成
作者,Evil Genius
生信是一种手段,大家要学会灵活运用,不要生搬硬套,很多时候大家需要根据自己的情况进行修改。
在文章Spatial transcriptomics stratifies psoriatic disease severity by emergent cellular ecosystems文章中对MIA的运用结果是

这也是空转系列课程中上课所得到分析结果。
在文章Integrating microarray-based spatial transcriptomics and single-cell RNA-seq reveals tissue architecture in pancreatic ductal adenocarcinomas中MIA的运用结果是

好的图片在绘制的时候也需要精心的准备
我们来补充一下,还是用上课的示例数据,初步的实现效果

#! usr/bin/R
### zhaoyunfei
### 20231111

suppressMessages({
library(Seurat)
library(argparse)
library(dplyr)
library(ggplot2)
library(tidyverse)
})

parser = ArgumentParser()
parser$add_argument("--sc_rds", help="the sc data",required = T)
parser$add_argument("--spatial_rds", help="the sp data",required = T)
parser$add_argument("--sample", help="the sample name",required = T)
parser$add_argument("--outdir", help="the outdir",default = './')
parser$add_argument("--celltype", help="the annotation for celltype")
parser$add_argument("--normalization_method",default = 'SCT',choice = c('SCT','LogNormalize'))
parser$add_argument("-s","--sc_min_pct", help="the min pct for sc diff test",default = 0.3)
parser$add_argument("--sc_logfc", help="the threshold of logfc for sc diff test",default = 0.25)
parser$add_argument("--region", help="the spatial region annotation,eg:Barcode,Cluster")
parser$add_argument("--sp_min_pct", help="the min pct for sp diff test",
  • 4
    点赞
  • 10
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值