JackieHanLab / TOSICA

Transformer for One-Stop Interpretable Cell-type Annotation
MIT License
121 stars 23 forks source link

Code Consulting #18

Open yujn999 opened 10 months ago

yujn999 commented 10 months ago

Hi, what does the mask parameter in the transformer represent, is it a single cell matrix?

JiaweiChenGo commented 4 months ago

Thank you for your interest in TOSICA. Mask is a binary matrix with columns corresponding to gene sets (GO term or KEGG) and rows corresponding to genes, with M(i,j) = 1 if the gene i belongs to the gene set j, otherwise Mi,j = 0.