Documenting sample selection

My aproach to automatically generating a selection table