rstoolbox.analysis.positional_enrichment

rstoolbox.analysis.positional_enrichment(df, other, seqID)

Calculates per-residue enrichment from sequences in the first DesignFrame with respect to the second.

Note

Position / AA type pairs present in df but not other will have a value of inf.

Parameters:
Returns:

FragmentFrame - with enrichment percentages.

Raises:
NotImplementedError:
 if the data passed is not in Union[DesignFrame, DataFrame].
KeyError:if there is no sequence information for chain seqID of the decoys.