240 发简信
IP属地:河南
  • 我在合并的时候cell_clusters = cell_clusters[np.isin(cell_clusters["Cell ID"],adata_index["Cell ID"])]会报错
    Traceback (most recent call last):
    File "/home/shpc_100688/miniconda3/envs/velocyto/lib/python3.10/site-packages/pandas/core/indexes/base.py", line 3621, in get_loc
    return self._engine.get_loc(casted_key)
    File "pandas/_libs/index.pyx", line 136, in pandas._libs.index.IndexEngine.get_loc
    File "pandas/_libs/index.pyx", line 163, in pandas._libs.index.IndexEngine.get_loc
    File "pandas/_libs/hashtable_class_helper.pxi", line 5198, in pandas._libs.hashtable.PyObjectHashTable.get_item
    File "pandas/_libs/hashtable_class_helper.pxi", line 5206, in pandas._libs.hashtable.PyObjectHashTable.get_item
    KeyError: 'Cell ID'

    The above exception was the direct cause of the following exception:

    Traceback (most recent call last):
    File "<stdin>", line 1, in <module>
    File "/home/shpc_100688/miniconda3/envs/velocyto/lib/python3.10/site-packages/pandas/core/frame.py", line 3505, in __getitem__
    indexer = self.columns.get_loc(key)
    File "/home/shpc_100688/miniconda3/envs/velocyto/lib/python3.10/site-packages/pandas/core/indexes/base.py", line 3623, in get_loc
    raise KeyError(key) from err
    KeyError: 'Cell ID'

    基于Seurat UAMP和celltype的RNA Velocity速率分析的全套流程

    参考资料:参考生物技能树[https://mp.weixin.qq.com/s/TJsdj7qesZGlvmEkNLAy0A]Velocyto官网Tutorial[https...

  • 120
    单细胞之轨迹分析-2:monocle2 原理解读+实操

    轨迹分析系列: 单细胞之轨迹分析-1:RNA velocity[https://www.jianshu.com/p/ee0f7a8e6a06] 拟时间序列分析(Pseudot...

  • 能否复制代码呀,自己敲有点费劲

    单细胞之富集分析-2:批量GSEA和GSVA分析

    单细胞富集分析系列: 单细胞之富集分析-1:单细胞GSEA分析流程[https://www.jianshu.com/p/00f069cb239c] 1. 背景 Gene Se...