create community matrix from annotated size