Skip to main content
. 2022 Oct 21;12(10):1539. doi: 10.3390/biom12101539
Algorithm 1 ACAM: Automatic Cell type Annotation Method.
  • Input: 

    The pre-processed data matrix X, marker gene set G

  • 1:

    Initialize thresh=10, k=1

  • 2:

    C1SC3(X); C2CIDR(X); C3Seurat(X);

    C4t-SNE+k-means(X); C5SIMLR(X)

  • 3:

    Ri,jARI(Ci,Cj),i=1,,5

  • 4:

    Remove the method of argminivar(Ri,·)

  • 5:

    Ai: Ai(u,v)1,u,vfromthesamecluster,0,otherwise.

  • 6:

    A˜i=14Ai

  • 7:

    Acon: Acon(u,v){1,A˜(u,v)=4,0,else.

  • 8:

    P={P1,P2,,PC}Louvain(Acon,thresh)

  • 9:

    for c = 1,…,C do

  • 11:

       P˜cOversample(Pc)

  • 11:

       Select m with mean(X[m,P˜c])>mean(X[m,UPc])

  • 12:

       wmXGBoost(P˜c,UPc),mGt,t=1,T

  • 13:

       Scoret=mGtwm,t=1,,T

  • 14:

       yucelltypet0: t0=argmaxt(Scoret),uPc

  • 15:

    end for

  • 16:

    yukNN(X[,P],k),uUP

  • Output: 

    Cell labels y