Selecting: Filter and Select Interaction Data

View source: R/matchmake.R

SelectingR Documentation

Filter and Select Interaction Data

Description

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

Usage

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

## Not run: 
object <- Selecting(object, pval.cutoff = 0.05, strength.pct = 0.1)

## End(Not run)

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