用来提取细胞降维后的坐标
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
网友评论