SeuratObject: Embeddings()

2023-09-04  本文已影响0人  LET149

用来提取细胞降维后的坐标

Embeddings(object=, reduction=)

  • reduction=: 选择调取哪种降维方式的细胞 embedding 结果;pca/harmony/tsne/umap
> kk <- Embeddings(harmony_object_used, reduction = "tsne")
>
> class(kk)
[1] "matrix" "array"
>
> dim(kk)
[1] 17625     2
>
> head(kk)
                       tSNE_1     tSNE_2
AAACCCAAGAGTGACC-1   4.199951  -1.451106
AAACCCAAGCTCCGAC-1 -32.082779   3.555935
AAACCCAAGTAATACG-1   4.309718 -30.147374
AAACCCAAGTCGAATA-1 -14.816083 -33.847707
AAACCCAAGTGGTCAG-1 -19.326877 -13.496296
AAACCCACAGACGATG-1   2.943143 -16.694757
上一篇下一篇

猜你喜欢

热点阅读