View source: R/chromosome_name_functions.R
CheckAndFixChrNames | R Documentation |
data.frame
.Check and, if possible, correct the chromosome names in a VCF data.frame
.
CheckAndFixChrNames(vcf.df, ref.genome, name.of.VCF = NULL)
vcf.df |
A VCF as a |
ref.genome |
The reference genome with the chromosome names to check
|
name.of.VCF |
Name of the VCF file. |
If the vcf.df$CHROM
values are correct or
can be corrected, then a vector of chromosome names
that can be used as a replacement for vcf.df$CHROM
.
If the names in vcf.df$CHROM
cannot be made to
be consistent with the chromosome names in ref.genome
,
then stop
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.