| liana_bysample | R Documentation | 
Wrapper around 'liana_wrap' to run liana for each sample.
liana_bysample(
  sce,
  idents_col,
  sample_col,
  verbose = TRUE,
  inplace = TRUE,
  aggregate_how = NULL,
  ...
)
| idents_col | name of the cluster column | 
| sample_col | name of the sample/context column | 
| verbose | verbosity logical | 
| inplace | logical (TRUE by default) if liana results are to be saved to the SingleCellExperiment object ('sce@metadata$liana_res') | 
| aggregate_how | if running multiple methods (default), then one cal also choose to aggregate the CCC results by sample. | 
| ... | Arguments passed on to  
 | 
takes a Seurat/SCE object and runs LIANA by sample/condition. The key by which the samples are separated is build from the 'condition_col' and 'sample_col', separated by the 'key_sep'.
If inplace is true returns a sce object with 'liana_res' in 'sce@metadata', else it returns a named list of tibble with liana results per sample.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.