View source: R/chromosome_name_functions.R
CheckAndFixChrNamesForTransRanges | R Documentation |
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
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.