parseKaryotype: Parse FISH karyotype strings

Description Usage Arguments Details Value

Description

Parses FISH karyotype strings into individual clones.

Usage

1
2
parseKaryotype(data, probes, unmatched = TRUE, karyotype = TRUE,
  deduplicate = TRUE)

Arguments

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.

Details

The five patterns below are recognized. Pattern matching is case insensative. Matched patterns are exluded if they do not contain a known probe.

pattern1

(...)x#[...]

pattern2

(...)[...]

pattern3

(...)x#(...)[...]

pattern4

(...)(...)x#[...]

pattern5

(...)(...)[...]

Value

Returns a data frame where each row represents a clone from the FISH karyotype string.


davidcoffey/Diamonds documentation built on June 23, 2019, 7:43 a.m.