It's not difficult to put a matrix of images.
For example, in such a derectory
.
├── document.tex
├── pictures
│ ├── CellA
│ │ ├── p1.JPG
│ │ ├── p2.JPG
│ │ ├── p3.JPG
│ │ └── p4.JPG
│ ├── CellB
│ │ ├── p1.JPG
│ │ ├── p2.JPG
│ │ ├── p3.JPG
│ │ └── p4.JPG
..........
\begin{figure}
\begin{subfigure}{1.0cm}
\centering\large Cell Name
\end{subfigure}
\begin{subfigure}{2.5cm}
\caption{p1}
\end{subfigure}
\begin{subfigure}{2.5cm}
\caption{p2}
\end{subfigure}
\begin{subfigure}{2.5cm}
\caption{p3}
\end{subfigure}
\begin{subfigure}{2.5cm}
\caption{p4}
\end{subfigure}
\begin{subfigure}{1.0cm}
\centering\large Cell A
\end{subfigure}
\begin{subfigure}{2.5cm}
\includegraphics[width=2.5cm]{pictures/CellA/p1.JPG}
\end{subfigure}
\begin{subfigure}{2.5cm}
\includegraphics[width=2.5cm]{pictures/CellA/p2.JPG}
\end{subfigure}
\begin{subfigure}{2.5cm}
\includegraphics[width=2.5cm]{pictures/CellA/p3.JPG}
\end{subfigure}
\begin{subfigure}{2.5cm}
\includegraphics[width=2.5cm]{pictures/CellA/p4.JPG}
\end{subfigure}
\end{figure}
However, I have about 20 cells, so it is hard to repead these sentences. Is there a way to add this matrix of images in bulk?

