pypath.inputs.ramp.ramp_raw§

pypath.inputs.ramp.ramp_raw(tables: list[str] = None, sqlite: bool = False, **kwargs) dict[str, pd.DataFrame, sqlite3.Connection][source]§

Retrieve RaMP database contents from raw SQL dump.

Parameters:
  • tables – One or more tables to retrieve. If None, all tables are retrieved.

  • sqlite – Return an SQLite database instead of a pandas DataFrame.

  • kwargs – Options for the SQLite database: this way you can point to a new or existing database, while by default, an in-memory, temporary database is used.

Returns:

Either a dictionary with the table names as keys and pandas dataframes as values, or an SQLite database connection.