• 全国 [切换]
  • 二维码
    微商筹货

    手机WAP版

    手机也能找商机,信息同步6大终端平台!

    微信小程序

    微信公众号

    当前位置: 首页 » 行业新闻 » 热点新闻 » 正文

    Monocle2: orderCells()

    放大字体  缩小字体 发布日期:2020-03-21 23:53:52   浏览次数:1138  发布人:6141****  IP:117.173.23.***  评论:0
    导读

    计算每个基因的 pseudotimerequire(monocle) require(Seurat) require(dplyr)#-------------------------------------------------------# #Identify genes for ordering cells, "fullModelFormulaStr=" specify the condi

    计算每个基因的 pseudotime

    require(monocle) require(Seurat) require(dplyr) #-------------------------------------------------------# #Identify genes for ordering cells, "fullModelFormulaStr=" specify the conditions that we want to dominate the cell trajectory #Or, we can use the genes identify by other ways diff_test_res <- differentialGeneTest(Monocle2_object, fullModelFormulaStr = "~Media") #In this case, "Media" is condition that we want to dominate the cell trajectory trajectory_ordering_genes <- row.names (subset(diff_test_res, qval < 0.01)) #-------------------------------------------------------# #Set the highly variable genes for dimension reduction Monocle2_object <- setOrderingFilter(Monocle2_object, ordering_genes=trajectory_ordering_genes) #-------------------------------------------------------# #Dimension reduction by PCA, then other method based on PCA results #For pseudotime calculation, the dimension reduction method "DDRTree" is recommended Monocle2_object <- reduceDimension(Monocle2_object, max_components = 2, num_dim = 6, reduction_method = 'DDRTree', verbose = T) #-------------------------------------------------------# #Order cells (calculate pseudotime) by dimension reduction results (not PCA) produced by reduceDimension() Monocle2_object <- orderCells(Monocle2_object, num_paths=1) #-------------------------------------------------------# #Show the dimention reduction and pseudotime results plot_cell_trajectory(Monocle2_object)

    不推荐电脑端访问(用户少)
    请微信扫一扫,查看完整信息(记得微信收藏)
     
    (文/匿名(若涉版权问题请联系我们核实发布者) / 非法信息举报 / 删稿)
    打赏
    免责声明
    • 
    本文为昵称为 6141**** 发布的作品,本文仅代表发布者个人观点,本站未对其内容进行核实,请读者仅做参考,如若文中涉及有违公德、触犯法律的内容,一经发现,立即删除,发布者需自行承担相应责任。涉及到版权或其他问题,请及时联系我们154208694@qq.com删除,我们积极做(权利人与发布者之间的调停者)中立处理。郑重说明:不 违规举报 视为放弃权利,本站不承担任何责任!
    有个别老鼠屎以营利为目的遇到侵权情况但不联系本站或自己发布违规信息然后直接向本站索取高额赔偿等情况,本站一概以诈骗报警处理,曾经有1例诈骗分子已经绳之以法,本站本着公平公正的原则,若遇 违规举报 我们100%在3个工作日内处理!
    0 条相关评论
     

    (c)2008-现在 chouhuo.com All Rights Reserved.