View source: R/order.index.lsn.data.R
order.index.lsn.data | R Documentation |
This function order and index lesion data by lesion type, the chromosome on which the lesion is located , and subject.
order.index.lsn.data(lsn.data)
lsn.data |
data.frame with lesion data prepared by the user in a GRIN compatible format. The data.frame should has five columns that include "ID" which is a column with id of the patient affected by the lesion, "chrom" which is the chromosome on which the lesion is located, "loc.start" which is the lesion start position, "loc.end" the lesion end position and "lsn.type" which is the lesion type for example gain, loss, mutation, fusion, etc... |
A list with the following components:
lsn.data |
Input lesion data |
lsn.index |
data.frame with row start and row end for each type of lesions affecting each subject on a certain chromosome. For example, if a certain patient is affected by 1 deletion on chromosome 5, row start wil be equal to row end for loss on chromosome 5. However, if the patient is affected by 4 deletions, difference between row.start and row.end will be 3. |
Stanley Pounds stanley.pounds@stjude.org
Pounds, Stan, et al. (2013) A genomic random interval model for statistical analysis of genomic lesion data.
Cao, X., Elsayed, A. H., & Pounds, S. B. (2023). Statistical Methods Inspired by Challenges in Pediatric Cancer Multi-omics.
data(lesion.data)
ordered.lsn=order.index.lsn.data(lesion.data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.