FetchInterOI: Fetch One Interaction

View source: R/TgView-prep.R

FetchInterOIR Documentation

Fetch One Interaction

Description

This function is to fetch result of one interaction (all gene pairs between 2 cell clusters) from network analysis, and generates standard data for downstream analysis. Any NA about gene itself (GeneID, GeneName) will be removed.

Usage

FetchInterOI(object, cluster.x, cluster.y, if.ignore.location = FALSE)

Arguments

object

A InterCell object, which is created by CreateInterCellObject.

cluster.x

Name of one cluster.

cluster.y

Name of the other cluster.

if.ignore.location

If set FALSE, genes will be extended by their locations, i.e. one gene along with several locations. If set TRUE, only one subcellular location for one specific gene will be reserved, but the locations reserved are randomly picked.

Value

A InterCell object.

See Also

'GetOneInter' for extracting gene pairs with NA reserved


ZJUDBlab/InterCellDB documentation built on March 19, 2023, 4:56 p.m.