calculateScore {ifCNVR}R Documentation

calculate Score

Description

calculate Score

Usage

calculateScore(
  readsMatrix,
  abSamples,
  abTargets,
  roi = "Gene",
  sep = "-",
  thrScore = 7
)

Arguments

readsMatrix

a reads matrix with samples in columns and targets in lines (the first column are the targets)

abSamples

the abSamples list result of the abSamples function

abTargets

a list of dataframes of the targets tagged as outliers result of the abTargets() function

roi

the region of interest (Gene or Gene-Exon)

sep

a character the separator between roi in the bed file

thrScore

(default 0) a threshold on the localization score

Value

the score associated with the abSamples in the desired roi

Examples

abS <- abSamples(readsMatrixExample)
abT <- abTargets(readsMatrixExample,abSamples(readsMatrixExample))
calculateScore(readsMatrixExample, abS, abT, sep="-")

[Package ifCNVR version 0.1.0 Index]