filterInteractions: Filter Interaction Data

View source: R/processing.R

filterInteractionsR Documentation

Filter Interaction Data

Description

Filter interaction data based on interacting strength and p value cutoffs.

Usage

filterInteractions(
  interact.strength,
  interact.pval,
  interaction.meta,
  pval.cutoff = 0.05,
  strength.pct = 0.1,
  filter.cells = TRUE
)

Arguments

interact.strength

Interaction strength matrix.

interact.pval

Interaction p-value matrix.

interaction.meta

Interaction metadata with first two columns as interaction partners matching interact.strength and interact.pval data.

pval.cutoff

p value cutoff. Default is 0.05.

strength.pct

Top strength quantile to select. Default is 0.1 aka the top 10%.

filter.cells

Whether to filter the cells. Default is TRUE.

Value

Returns a list containing filtered interaction strength, p value matrix and merged interaction data.


stevexniu/scMatchmaker documentation built on June 2, 2022, 12:35 p.m.