View source: R/ascatToHRDLOH.R
ascatToHRDLOH | R Documentation |
Compute the HRD-LOH index starting from a data fram (possibly loaded from an ASCAT output file) with the following columns: 'seg_no', 'Chromosome', 'chromStart', 'chromEnd', 'total.copy.number.inNormal', 'minor.copy.number.inNormal', 'total.copy.number.inTumour', 'minor.copy.number.inTumour'
ascatToHRDLOH(ascat.data, SAMPLE.ID, return.loc = FALSE)
ascat.data |
data frame with the following columns: 'seg_no', 'Chromosome', 'chromStart', 'chromEnd', 'total.copy.number.inNormal', 'minor.copy.number.inNormal', 'total.copy.number.inTumour', 'minor.copy.number.inTumour' |
SAMPLE.ID |
sample name |
return.loc |
if TRUE return the HRD-LOH regions, while if FALSE return the HRD-LOH index (i.e. the count of the regions) instead. |
returns the HRD-LOH index or regions
Abkevich, V., Timms, K. M., Hennessy, B. T., Potter, J., Carey, M. S., Meyer, L. a., ... Lanchbury, J. S. (2012). Patterns of genomic loss of heterozygosity predict homologous recombination repair defects in epithelial ovarian cancer. British Journal of Cancer, 107(10), 1776–82. https://doi.org/10.1038/bjc.2012.451
ascat.data <- read.table("ascat.scv",sep=",",header=TRUE)
hrd_index <- ascatToHRDLOH(ascat.df,"test_sample")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.