Check and, if possible, correct the chromosome names in a trans.ranges data.table
Check and, if possible, correct the chromosome names in a trans.ranges data.table
CheckAndFixChrNamesForTransRanges( trans.ranges, vcf.df, ref.genome, name.of.VCF = NULL )
trans.ranges |
A |
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
trans.ranges$chrom
. If the names in vcf.df$CHROM
cannot be
made to be consistent with the chromosome names in
trans.ranges$chrom
, then stop
.
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.