Description Usage Arguments Value Examples
View source: R/load_contig_lengths.R
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 3 4 5 | load_contig_lengths(
input_file_path,
chromosomes_names = NULL,
plot.unplaced = TRUE
)
|
input_file_path |
Path to a contig lengths file. |
chromosomes |
A vector of chromosomes names obtained with the |
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", chromosomes_names = chromosomes_names)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.