Description Usage Arguments Value Examples
Loads a table of contig lengths. The function separates the lengths of chromosomes and unplaced contigs If chromosomes names are provided, they will be used to determine the chromosomes. Otherwise, the function will attempt to detect chromosomes based on contig names (chromosomes start with LG / Chr / NC).
1 2 | load_contig_lengths(input_file_path, contig_names = NULL,
plot.unplaced = TRUE)
|
input_file_path |
Path to a contig lengths file. |
contig_names |
A vector of contig names obtained with the |
plot.unplaced |
If TRUE, unplaced scaffolds will be grouped together and plotted as "Unplaced" (default: TRUE). |
A list with the following elements: - lg : lengths of contigs determined to be chromosomes - unplaced : lengths of contigs determined to be unplaced - plot : lengths of sectors to be plotted
1 | lengths <- load_contig_lengths("contig_lengths.tsv", contig_names = contig_names)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.