R/plot_element_distr_along_chromosome.R
plot_element_distr_along_chromosome.Rd
The positionas of LTR retrotransposons predicted with LTRpred
will be visualized along the chromsome.
plot_element_distr_along_chromosome( pred, genome.file, centromere_start = NULL, centromere_end = NULL, ... )
pred | LTRpred.tbl generated with |
---|---|
genome.file | a file path to the genome assembly file in fasta format for which chromosomes shall be visualized. |
centromere_start | a numeric vector storing the centromere start coordinates in the |
centromere_end | a numeric vector storing the centromere end coordinates in the |
... | additional arguments that shall be passed to the visualization function |
Hajk-Georg Drost
if (FALSE) { test_genome <- system.file("Hsapiens_ChrY.fa", package = "LTRpred") test_pred <- LTRpred::read.ltrpred( system.file("Hsapiens_ChrY_LTRpred_DataSheet.tsv", package = "LTRpred")) test_centromere_starts <- 55000 # generate visualization LTRpred::plot_element_distr_along_chromosome(test_pred, test_genome, test_centromere_starts) }