登陆 | 注册 设为首页 | 加入收藏 | 联系我们
太和养老网
热词老年艺术  助老机构  养老系统  

中心区域北京 天津 河北 山西 内蒙古 辽宁 吉林 黑龙江 上海 江苏 浙江 安徽 福建 江西 山东 河南 湖北 湖南 广东 广西 海南 重庆 四川 贵州 云南 西藏 陕西 甘肃 青海 宁夏 新疆 香港 澳门 台湾 全国城市养老院目录 全国县市养老院汇总目录 太和AI作品展 太和养老艺术网AI作品展示

UsingSingleRtoannotatesingl

 

2023/7/6 17:07:13 ('互联网')

Using SingleR to annotate single-cell RNA-seq data

Aaron Lun*, Jared M. Andrews1, Friederike Dündar2 and Daniel Bunis3

1Washington University in St. Louis, School of Medicine, St. Louis, MO, USA
2Applied Bioinformatics Core, Weill Cornell Medicine
3Bakar Computational Health Sciences Institute, University of California San Francisco, San Francisco, CA

*infinite.monkeys.with.keyboards@gmail.com

Revised: December 18th, 2019Package

SingleR 1.2.4

1 Introduction

SingleR is an automatic annotation method for single-cell RNA sequencing (scRNAseq) data (Aran et al. 2019).Given a reference dataset of samples (single-cell or bulk) with known labels, it labels new cells from a test dataset based on similarity to the reference set.Specifically, for each test cell:

We compute the Spearman correlation between its expression profile and that of each reference sample.This is done across the union of marker genes identified between all pairs of labels.We define the per-label score as a fixed quantile (by default, 0.8(人均gdp是什么意思?人均GDP即人均国内生产总值(Real GDP per capita),是人们了解和把握一个国家或地区的宏观经济运行状况的重要指标之一。)) of the distribution of correlations.We repeat this for all labels and we take the label with the highest score as the annotation for this cell.We optionally perform a fine-tuning step:The reference dataset is subsetted to only include labels with scores close to the maximum.Scores are recomputed using only marker genes for the subset of labels.This is iterated until one label remains.

Automatic annotation provides a convenient way of transferring biological knowledge across datasets.In this manner, the burden of manually interpreting clusters and defining marker genes only has to be done once, for the reference dataset, and this knowledge can be propagated to new datasets in an automated manner.

2 Using the built-in references

SingleR provides several reference datasets (mostly derived from bulk RNA-seq or microarray data) through dedicated data retrieval functions.For example, we obtain reference data from the Human Primary Cell Atlas using the HumanPrimaryCellAtlasData() function,which returns a SummarizedExperiment object containing matrix of log-expression values with sample-level labels.

library(SingleR)hpca.se - HumanPrimaryCellAtlasData()hpca.se
## class: SummarizedExperiment ## dim: 19363 713 ## metadata(0):## assays(1): logcounts## rownames(19363): A1BG A1BG-AS1 ... ZZEF1 ZZZ3## rowData names(0):## colnames(713): GSM112490 GSM112491 ... GSM92233 GSM92234## colData names(3): label.main label.fine label.ont

Our test dataset will is taken from La Manno et al. (2016).
For the sake of speed, we will only label the first 100 cells from this dataset.

library(scRNAseq)hESCs - LaMannoBrainData('human-es')hESCs - hESCs[,1:100]# SingleR() expects log-counts, but the function will also happily take raw# counts for the test dataset. The reference, however, must have log-values.library(scater)hESCs - logNormCounts(hESCs)

We use our hpca.se reference to annotate each cell in hESCs via the SingleR() function, which uses the algorithm described above.Note that the default marker detection method is to take the genes with the largest positive log-fold changes in the per-label medians for each gene.

pred.hesc - SingleR(test = hESCs, ref = hpca.se, labels = hpca.se$$label.main)pred.hesc
## DataFrame with 100 rows and 5 columns## scores first.labels## matrix character ## 1772122_301_C02 0.347652:0.109547:0.123901:... Neuroepithelial_cell## 1772122_180_E05 0.361187:0.134934:0.148672:... Neuroepithelial_cell## 1772122_300_H02 0.446411:0.190084:0.222594:... Neuroepithelial_cell## 1772122_180_B09 0.373512:0.143537:0.164743:... Neuroepithelial_cell## 1772122_180_G04 0.357341:0.126511:0.141987:... Neuroepithelial_cell## ... ... ...## 1772122_299_E07 0.371989:0.169379:0.1986877:... Neuroepithelial_cell## 1772122_180_D02 0.353314:0.115864:0.1374981:... Neuroepithelial_



扫码加微信详细咨询太和智慧养老产品和平台服务!

 

 





版权声明:

---------------------------------------------------------------


所有信息来源于互联网,本文的版权归原作者所有,不代表本网观点和立场。

本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,请发送邮件至 81480447@qq.com 举报,一经查实,本站将立刻删除。



扫码加微信详细咨询太和智慧养老产品和平台服务!

 

养老资讯
助老机构介绍
评论
已有 0 条评论

最新评论

推荐养老院

您希望养老院位于
  • 不限
  • 东城
  • 西城
  • 崇文
  • 宣武
  • 朝阳
  • 丰台
  • 石景山
  • 海淀
  • 门头沟
  • 房山
  • 通州
  • 顺义
  • 昌平
  • 大兴
  • 怀柔
  • 平谷
  • 延庆
  • 密云
您希望的价格范围
  • 不限
  • 500以下
  • 500-1000
  • 1000-2000
  • 2000-3000
  • 3000-5000
  • 5000以上
老人的情况是
  • 不限
  • 自理
  • 半自理
  • 全护理
  • 特护

姓名

年龄

电话

全国城市养老院



关于我们 | 联系方式 | 网站地图 | 友情链接

Copyright 2010-2022 京ICP备18035644号-3 北京太和 版权所有