Closed altairwei closed 2 years ago
Hi @altairwei,
exactly! scCODA operates on a (sample x cell type) level. The from_scanpy
function just counts the amount of cells of each type in each sample in a (cell x gene)-level anndata object.
Your intuition was totally correct!
From the tutorial and the example of
from_pandas
, it appears that scCODA actually uses input data in the form of cell type sizes rather than single cell UMIs data. What the functionfrom_scanpy
does is simply calculate the size of the cell type in each sample, right?The values in the table above represent the count of cells contained in a particular cell type in a given sample, correct?