liana.resource.select_resource

liana.resource.select_resource#

liana.resource.select_resource(resource_name='consensus')#

Read resource of choice from the pre-generated resources in LIANA.

Parameters:

resource_name (str (default: 'consensus')) – Name of the resource to be loaded and use for ligand-receptor inference.

Raises:

ValueError – If the resource name provided is not availabe in LIANA

Return type:

DataFrame

Returns:

A dataframe with ['ligand', 'receptor'] columns