cutLinkDf: Create a cut data frame with information on links

Description Usage Arguments Details Value Author(s) Examples

View source: R/linkDf.R

Description

Create a cut link data frame

Usage

1
cutLinkDf(linkDf, type = c("all", "inter", "intra"))

Arguments

linkDf

'data.frame', that gives per each row information on linked features

type

'character', one of "all", "inter" or "intra"

Details

This function is used to truncate features from linkDf. If type = "all", linkDf will not be changed; if type = "inter" the returned linkDf will only contain entries of links which are between groups and not inside groups; contrary to that, if type = "intra" the returned linkDf will only contain entries of links which are inside groups and not between groups.

Value

cutLinkDf returns a data.frame that gives per each row information on linked features

Author(s)

Thomas Naake, thomasnaake@googlemail.com

Examples

1
2
3
4
5
6
data("spectra", package = "MetCirc")
data("similarityMat", package = "MetCirc")
linkDf <- createLinkDf(similarityMatrix = similarityMat,
    spectra = spectra_tissue, condition = c("SPL", "LIM", "ANT", "STY"),
    lower = 0.75, upper = 1)
cutLinkDf(linkDf = linkDf, type = "all")

MetCirc documentation built on Nov. 8, 2020, 8:26 p.m.