decoupler.op.resource#
- decoupler.op.resource(name, organism='human', license='academic', verbose=False)#
Wrapper to access resources inside Omnipath [TureiKSR16].
This wrapper allows to easly query different prior knowledge resources. To check available resources run
decoupler.op.show_resources(). For more information visit the official [website](https://omnipathdb.org/).- Parameters:
name (
str) – Name of the resource to query.organism (
str(default:'human')) – The organism of interest. By default human.license (
str(default:'academic')) – Which license to use, available options are: academic, commercial, or nonprofit. By default, is set to academic to retrieve all possible interactions. Users are expected to comply with license regulations according to their affiliation.verbose (
bool(default:False)) – Whether to display progress messages and additional execution details.kwargs – Passed to
decoupler.op.translate.
- Returns:
Network in long format.
Example
import decoupler as dc df = dc.op.resource(name="PanglaoDB") df