donovan-h-parks / STAMP

Statistical Analysis of Metagenomic Profiles
GNU General Public License v3.0
91 stars 35 forks source link

PCA plots fail when profile contains only one feature #13

Open donovan-h-parks opened 9 years ago

donovan-h-parks commented 9 years ago

The PCA plot will fail with an exception when the first row of a STAMP profile contains a single features, e.g.:

Domain\tPhylum\tS1\tS2 Bacteria\tProteobacteria\t5\t10 ... ... Bacteria\tFirmicute\t3\t4