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, 2019PackageSingleR 1.2.4
1 IntroductionSingleR 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 referencesSingleR 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 举报,一经查实,本站将立刻删除。
扫码加微信详细咨询太和智慧养老产品和平台服务!
养老资讯
- 巨蟹座2015婚后琴瑟和
- 巨蟹座为何被分手
- 巨蟹座女生对于男友沉迷游
- 巨蟹座2014年11月1
- 谁是巨蟹座男的红颜知已?
- 2014/11/17-2
- 巨蟹座都是悔恨什么
- 巨蟹座面对感情问题时
- 巨蟹座2015年啥时财运
- 你最珍贵,你别皱眉,巨蟹
- 爱我就宠我,巨蟹座女为爱
- 巨蟹座容易情绪化吗
- 巨蟹座出轨之后得到的领悟
- 巨蟹座2014年11月1
- 巨蟹座11月中下旬的约会
- 巨蟹座本周爱情吉日吉时(
- 当巨蟹座遇见《神之浩劫》
- 巨蟹座带你一起回忆一年级
- 看巨蟹座都在嘚瑟什么吧
- 家居风水入门知识讲座巨蟹
- 巨蟹座男对唠叨妻求放过
- 巨蟹座内心的阴暗之处
- 巨蟹座之于美食的态度
- 相濡以沫OR形同陌路,巨
- 巨蟹座开运指南(11.1
- 巨蟹座2014年11月1
- 巨蟹座的抗压指数
- 如何让巨蟹恋人对你多关心
- 巨蟹座的感情安全区
- 巨蟹座对抗"初老"有绝招
- 巨蟹座2015年有啥蜕变
- 流言蜚语,一笑而过。巨蟹
- 巨蟹座恋爱攻势,即使我们
- 教你战胜巨蟹座狐狸精
- 巨蟹座参加跑男会怎样
- 巨蟹座女失身最早?
- 看巨蟹座如何蠢蠢欲动
- 巨蟹座友情界线的安全距离
- 当巨蟹座的隐私被曝光后
- 巨蟹座一句话表示自己做过
助老机构介绍
姓名:
年龄:
电话: