Use qiime feature-table filter-features, setting the min frequency at an appropriate level.
Do you mean group samples that share the same sample metadata value? See qiime feature-table group. Definitely not a bad idea when making heatmaps if you have many groups...
Let us know if that scratches your itch! ![]()