1. A method, comprising: determining positions of a plurality of cells based on one or more images of the cells; for at least some of the plurality of cells, generating a matrix comprising two-dimensional information about positions of neighboring cells, and determining one or more numerical features based on the information in the matrix; and classifying the at least some of the plurality of cells as belonging to at least one of multiple classes based on the numerical features.