matrices and barcodes (samples)