DiaThor: R package for computing diatom metrics and biotic indices
O_LIDiatoms are widely used to detect changes in water quality due to their specific sensibility to a variety of environmental conditions. Among the different diatom-based tools to measure water quality, the biotic indices, ecological and morphological traits are the most commonly used. C_LIO_LIDiaThor, contains 18 functions that provide morphological data of the samples (number and shape of chloroplasts, total biovolume), ecological data (species richness, evenness, diversity, size classes, ecological guilds, ecological preferences) and biotic indices (Descy Index, EPID Index, Indice Diatomique Artois-Picardie, Swiss Diatom Index, Pampean Diatom Index, ILM index, Specific Pollution sensitivity Index, Lobo Index, Sladecek index, SPEARherbicides index and the Trophic index). A web application (in Shiny) was also developed to provide access to the package for those users not familiar with the R environment. C_LIO_LIThe structure of the package, how it functions and the structure of the input and output data are explained. To demonstrate the most common use of DiaThor, an example of the package performance is also provided. C_LIO_LIThe DiaThor package aims to contribute to the water quality assessment based on diatom assemblages, while also providing researchers with an open platform to suggest new statistics and functionalities to be integrated into future builds. C_LI