Fill sequence tables in a MultiAmplicon object to include selected samples for all amplicons.

.fillSampleTables(ST, samples)

Arguments

ST

a sequence tabel from a MultiAmplicon object

samples

a character vector giving names of samples to retain.

Value

a sequence table for use in a MultiAmplicon object

Details

In a MultiAmplicon object for some primer pairs some samples might have no amplified sequence variants at all. This function creates matrices including consistent samples for all the sequenceTableNoChime slots of a MultiAmplicon object and returnes filled tables for all requested samplese. Cells are filled with 0 (zeros) for samples originally not recoverd in an amplicon.

Author

Emanuel Heitlinger