Converts a table of counts, such as the output of count_phenotypes, to a table of fractional percents. Percents are computed row-wise, e.g. per tissue category.

counts_to_percents(counts)

Arguments

counts

A table containing count data. All numeric columns are assumed to contain count data. The table must contain a column whose name contains "Total" or "All".

Value

A table containing percent values as decimal fractions.