getHRD.Score: get the standard HRD score

Description Usage Arguments Details Value Examples

View source: R/getHRDScore.R

Description

get the standard HRD score

Usage

1
getHRD.Score(seq.dat, CN.dat, scaleTotal = FALSE, type = "sum")

Arguments

seq.dat

the preprocessed sequencing data

CN.dat

the copy number data

scaleTotal

optional: rescale the total to range of 0-100

type

optional: type of score to return, one of "sum" or "average"

Details

calculates the 'standard' HRD score: the sum of LST, LOH, and NTAI, all normalized. Can optionally return the HRD score rescaled to a range of 0 - 100.

Value

a numeric value representing the HRD score

Examples

1
2
3
4
seq.dat <- preprocessHRD( sub01.segments )

CN.dat <- getCNT( seq.dat )
HRD <- getHRD.Score( seq.dat, CN.dat, scaleTotal = FALSE)

maxwell-lab/HRDex documentation built on May 3, 2020, 9:01 p.m.