makeReferenceCN | R Documentation |
Generates the reference distribution of concordance scores from unpaired tumours for a given dataset.
makeReferenceCN(
segmentTable,
pairs,
patients = NULL,
delimiter = NULL,
cnType = c("alleleSpecific", "VCF"),
excludeChromosomes = "Y",
maxgap = NULL
)
segmentTable |
A segment table generated by the readAlleleSpecific or readVCFCn functions. |
pairs |
A table of paired samples from the dataset. All tumours present in this table will be paired with all tumours from other patients. |
patients |
A character vector of patient IDs, parallel to the pairs table, used to prevent tumours originating from the same patient from being used in the reference distribution (optional). |
delimiter |
A character separating patient IDs from tumour-specific identifiers in the sample IDs. Ignored if |
cnType |
The type of copy number data provided. Currently supported options are a custom allele specific data format, and standard copy number VCF files. |
excludeChromosomes |
The name(s) of any chromosomes to be excluded. |
maxgap |
The maximum gap between two breakpoints for them to be considered concordant. If unspecified, it is automatically set to 5 times the average interprobe distance of the assay. |
The default is to assume one tumour pair per patient. If the sample is found in more than one pair, indicating more than one pair per patient, an error will be thrown.
In that case you must specify either patients
or delimiter
.
A numeric vector of pair scores comprising the reference distribution.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.