Modification of https://github.com/nolanlab/spade which works matrix instead of FCS files.