Questions tagged [gggenes]
5 questions
1
vote
0 answers
reduce or eliminate the empty zone in ggplot2 R
I'm using gggenes to generate a plot
library(ggplot2)
library(gggenes)
df <- filter(example_genes, molecule %in% c("Genome1", "Genome2"))
just to generate a single gene line
df$molecule <- "Genome1"
head(df)
molecule gene start end strand…

abraham
- 661
- 8
- 14
0
votes
0 answers
Adding vertical gene connection lines and improving color palette in ggplot2 and gggene
I am currently working on visualising a gene dataset using the ggplot2 and gggene package in R to showcase the conservation of gene neighbourhood or synteny across evolution. I have successfully created a gene plot with arrows representing genes,…

Rohan Nath
- 11
- 2
0
votes
1 answer
How do I cite gggenes?
What's the way to properly cite gggenes for a scientific publication?
Can't find any info online about David Wilkins, the author of this package.

user19398157
- 15
- 2
0
votes
1 answer
How do I use gggene package in R to draw genes of equal size adjacent to each other based on their start position value?
I have the following dataset:
#tax_id Species GeneID Symbol description start_position end_position orientation genomic_accession.version
9606 Homo_sapiens_Linnaeus,_1758 10559 SLC35A1 solute_carrier_family_35_member_A1 …

Rohan Nath
- 47
- 4
0
votes
0 answers
Add hatch on geom_segment within the gggenes in ggplot2 [R]
I have a dataframe such as :
> head(tab)
molecule gene start end strand orientation hatch
1 Genome5 genA 405113 407035 forward -1 NO
2 Genome5 genB 407035 407916 forward -1 NO
3 Genome5 genC 407927 408394 forward …

chippycentra
- 3,396
- 1
- 6
- 24