The role of class DataLinks is to calculate the presence and co-presence for given e.g. GCFs, spectra and strains. The presence matrix are required to compute the Metcalf scores.
This PR merge the role DataLinks to MetCalfScoring and utils to improve the clarity of codebase and to simplify the scoring process.
DataLinks also has a get_common_strains method that will be merged to ObjectLink class in next PR.
Major changes:
move functions of calculating presence to utils
merge function of calculating co-presence and raw score to MetcalfScoring
The role of class
DataLinks
is to calculate the presence and co-presence for given e.g. GCFs, spectra and strains. The presence matrix are required to compute the Metcalf scores.This PR merge the role
DataLinks
toMetCalfScoring
and utils to improve the clarity of codebase and to simplify the scoring process.DataLinks
also has aget_common_strains
method that will be merged toObjectLink
class in next PR.Major changes:
MetcalfScoring
linking
folder