This function finds the Popular Adjacent Ligand or Self (PALs)
for each feature in the @theta
slot of a propd
object. Specifically, we define PALs as the adjacent node with
the highest amount of connectivity. If node itself has more
connectivity than any of its neighbors, it is its own PAL.
pals(object, k)
A propd
object.
An integer. The maximum number of PALs to index
when calculating pals
in the network.
A named vector of PALs, ordered by decreasing connectivity of the input nodes. The names of the result refer to the input nodes themselves.