circos_check_chromosomes: Make sure I haven't mixed and matched genomes.

View source: R/plot_circos.R

circos_check_chromosomesR Documentation

Make sure I haven't mixed and matched genomes.

Description

This is mostly intended to stop things early if I accidently use the wrong reference genome, but it currently does return the number of observed chrosomes.

Usage

circos_check_chromosomes(
  cfg,
  df,
  annot_chr_column = "chr",
  annot_gene_column = "rownames",
  df_chr_column = "names",
  df_gene_column = NULL
)

Arguments

cfg

circos configuration object.

df

dataframe of chromsome information.

annot_chr_column

Column containing the chromosome names.

annot_gene_column

Column containing the gene IDs.

df_chr_column

Column in the cfg df containing the chromosome names.

df_gene_column

Column containing the gene names.


elsayed-lab/hpgltools documentation built on May 9, 2024, 5:02 a.m.