View source: R/plot_element_distr_along_chromosome.R
plot_element_distr_along_chromosome | R Documentation |
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
## Not run: 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) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.