cutLinkDf {MetCirc} | R Documentation

## Create a cut data frame with information on links

### Description

Create a cut link data frame

### Usage

    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

    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")

[Package MetCirc version 1.18.0 Index]