Skip to contents

LIANA

liana-wrapper and related functions

liana_aggregate()
Function to Aggregate CCC Method Results
liana_bysample()
Wrapper around `liana_wrap` to run liana for each sample.
liana_call()
Wrapper Function to obtain scores via liana_pipe
liana_defaults()
Function to pass Default Arguments for each method
liana_dotplot()
Liana dotplot interactions by source and target cells
liana_heatmap()
Communication by cell type Heatmap
liana_message()
LIANA message/warning helper function to allow for verbosity
liana_pipe()
Liana Pipe which runs DE analysis and merges needed information for LR inference
liana_prep()
Function to handle different types of object as input and do basic quality checks
liana_scores()
Function to obtain different scoring schemes
liana_tensor_c2c()
Wrapper function to run `cell2cell_tensor` with LIANA output.
liana_wrap()
LIANA wrapper function

(External) Method calling functions [Deprecated]

call_cellchat()
Run CellChat with OmniPath function [[DEPRECATED]]
call_connectome()
Function to call connectome with databases from OmniPath [[DEPRECATED]]
call_italk()
Run iTALK with OmniPath data [[DEPRECATED]]
call_natmi()
Call NATMI Pipeline from R with Resources Querried from OmniPath [[DEPRECATED]]
call_sca()
Function to call SingleCellSignalR with databases from OmniPath [[DEPRECATED]]
call_squidpy()
Call Squidpy Pipeline via reticulate with OmniPath and format results [[DEPRECATED]]

(Internal) Method-calling and resource-generating functions

get_c2c_factors()
Returns tensor cell2cell results
get_connectome()
Function to obtain connectome-like weights
get_curated_omni()
Function to Generate the Curated (Default) LIANA resource
get_logfc()
Function to obtain logFC weights
get_lr_resources()
Helper function that returns the name of each intercell resource in OmniPath
get_natmi()
Function to obtain NATMI-like weights
get_partners()
Retrieves intercellular communication partners (ligands or receptors) from one ligand-receptor resource.
get_permutations()
Helper Function to generate shuffled means
get_sca()
Function to obtain SingleCellSignalR-like scores

Format (External) Method Output [Deprecated]

FormatConnectome()
Helper function to filter and format connectome
FormatNatmi()
Load NATMI results from folder and format appropriately
FormatSCA()
Helper function to format SingleCellSignalR results
FormatiTALK()
Helper Function to Filter and format iTalk results

Obtain Default Parametres

Default parametres passed to each method called by liana

liana_defaults()
Function to pass Default Arguments for each method

Show_ or Select_ Functions

Functions used to obtain available methods and resources, lists, etc

show_homologene()
Helper function to show available organisms via OmnipathR's homologene resource
show_methods()
Helper Function to return the methods in LIANA
show_resources()
Helper Function to return the Resources in LIANA
select_resource()
Helper Function to Handle resource choices

Show_ or Select_ Functions

Functions related to tensor decomposition with cell2cell

liana_tensor_c2c()
Wrapper function to run `cell2cell_tensor` with LIANA output.
get_c2c_factors()
Returns tensor cell2cell results
plot_c2c_overview()
Function to plot an Overview of tensor-c2c results
plot_context_boxplot()
Generate boxplots with significance
plot_context_heat()
Plot a Heatmap of context loadings
plot_lr_heatmap()
Function to plot a UMAP of context loadings
plot_c2c_cells()
Plot the product of loadings between the source and target loadings within a factor
decompose_tensor()
Wrapper function to run `cell2cell_tensor` decomposition on a prebuilt tensor.
preprocess_scores()
Helper function to deal with tensor sparsity and liana's scores as in Python

Others

Other potentially relevant functions

chord_freq()
Frequency ChordDiagram
heat_freq()
Communication Frequency heatmap plot
minmax()
Helper min-max function
min0()
Helper Function which returns the value closest to 0
decomplexify()
Helper Function to 'decomplexify' ligands and receptors into individual subunits
generate_orthologs()
Deprecated call to generate_homologs
generate_homologs()
Function to generate a homologous OmniPath resource
rank_method()
Helper function to rank each method
filter_nonabundant_celltypes()
Filter nun-abundant cell types
generate_lr_geneset()
Generate a geneset resource for each LR
assign_lr_weights()
Helper function to assign weights
rank_aggregate()
Aggregate CCC Method results and by both magnitude and specificity ranks