Filter interaction using interacting strength and p value cutoffs. Non-significant interactions will be either removed or set to zero.

Selecting(object, pval.cutoff = 0.05, strength.pct = 0.1, filter.cells = TRUE)

Arguments

object

Matchmaker object.

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 Matchmaker object with filtered interactions saved in @selected slot.

Examples

if (FALSE) {
object <- Selecting(object, pval.cutoff = 0.05, strength.pct = 0.1)
}