Description Usage Arguments Details Value
View source: R/parseKaryotype.R
Parses FISH karyotype strings into individual clones.
1 2 | parseKaryotype(data, probes, unmatched = TRUE, karyotype = TRUE,
deduplicate = TRUE)
|
data |
A data frame with columns named "PatientMRN", "PathNum", "PathInstitution", "PathDate", and "PathKaryotype". |
probes |
A data frame with columns named "probe" and "chr" that defines the gene name and chromosomal location of the gene (e.g. 17p) |
unmatched |
A Boolean indicating if unmatched reports should be included in the output. If TRUE, then reports for which no FISH strings are detected or pattern matching cannot be performed are included in the output. |
karyotype |
A Boolean indicating if the original karyotype string should be included in the output. If TRUE, then the karyotype string is included. |
deduplicate |
A Boolean indicating if duplicate clones with the same abnormality should be removed. If TRUE, then duplicate clones are removed and the columns for Gene and Copy number of omited from the output. Be aware that when this option is set to TRUE, it will increase the computation time. |
The five patterns below are recognized. Pattern matching is case insensative. Matched patterns are exluded if they do not contain a known probe.
(...)x#[...]
(...)[...]
(...)x#(...)[...]
(...)(...)x#[...]
(...)(...)[...]
Returns a data frame where each row represents a clone from the FISH karyotype string.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.