Drug ranking and repositioning through network projections and kernelized score functions