Study of drug function based on similarity of pathway fingerprint