xLinked | R Documentation |
This function identifies variants that appear only in the X chromosome of the unaffected females as heterozygous, don't appear in the unaffected males analyzed and finally are present (as homozygous) in the affected male(s).
## S4 method for signature 'VariantFilteringParam'
xLinked(param,
svparam=ScanVcfParam(),
use=c("everything", "complete.obs", "all.obs"),
BPPARAM=bpparam("SerialParam"))
param |
A |
svparam |
An instance of a |
use |
character string specifying the policy to apply on missing genotypes when comparing them. This policy can be either '"everything"' (default), '"complete.obs"' or '"all.obs"'. The default policy ('"everything"') will propagate NA truth values using the behavior of the R logical operators, with the exception that when the final truth value associated with a variant is |
BPPARAM |
An object of class |
This function requires as an input a VariantFilteringParam
class object built from an input multisample VCF file, along with a PED file.
An object of class VariantFilteringResults
including functional annotations on all selected variants.
Dei M. Elurbe and R. Castelo
Elurbe D.M., Mila, M., Castelo, R. The VariantFiltering package, in preparation.
autosomalRecessiveHomozygous
autosomalRecessiveHeterozygous
autosomalDominant
deNovo
unrelatedIndividuals
VariantFilteringResults
## Not run:
## This actually won't run b/c in this trio de descendant is a female
CEUvcf <- file.path(system.file("extdata", package="VariantFiltering"), "CEUtrio.vcf.bgz")
CEUped <- file.path(system.file("extdata", package="VariantFiltering"), "CEUtrio.ped")
param <- VariantFilteringParam(vcfFilename=CEUvcf,
pedFilename=CEUped)
xlid <- xLinked(param)
xlid
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.