Description Usage Arguments Value Author(s) See Also Examples
This function determines the sex of a sample by the coverage ratio of chrX and chrY. Loss of chromosome Y (LOY) can result in a wrong female call. For small targeted panels, this will only work when sufficient sex marker genes such as AMELY are covered. For optimal results, parameters might need to be tuned for the assay.
1 2 3 4 5 6 | getSexFromCoverage(
coverage.file,
min.ratio = 25,
min.ratio.na = 20,
remove.outliers = TRUE
)
|
coverage.file |
Coverage file or data read with
|
min.ratio |
Min chrX/chrY coverage ratio to call sample as female. |
min.ratio.na |
Min chrX/chrY coverage ratio to call sample as
|
remove.outliers |
Removes coverage outliers before calculating mean chromosome coverages. |
Returns a character(1)
with M
for male, F
for
female, or NA
if unknown.
Markus Riester
1 2 3 | tumor.coverage.file <- system.file("extdata", "example_tumor.txt",
package="PureCN")
sex <- getSexFromCoverage(tumor.coverage.file)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.