Make gene track plot using Gviz
track_plot(
finemapstats,
region,
gene.annots,
bigSNP = NULL,
txdb = NULL,
counts = NULL,
peaks = NULL,
loops = NULL,
genome = "hg19",
filter_loop_genes = NULL,
filter_loop_snps = NULL,
filter_protein_coding_genes = TRUE,
color_piptrack_by = c("locus", "cs", "none"),
highlight_snps = NULL,
counts.ylim = c(0, 1),
counts.color,
peaks.color = "navy",
loops.color = "gray",
highlight.color = "pink",
genelabel.side = c("above", "below", "left", "right"),
track.sizes = NULL,
rotation.title = 0,
verbose = FALSE,
...
)A GRanges object of processed finemapping summary statistics
The genomic region to visualize in the format of "chr:start-end".
A GRanges object of gene annotations
A bigsnpr object attached via bigsnpr::snp_attach()
A txdb object of gene annotations
A list of counts data to display as quantitativ data tracks
A list of peaks to display as binary data tracks
A list of chromatin loops, e.g. PC-HiC, ABC, etc.
Genome assembly version (default: "hg19").
A vector of gene names. Only show loops connected to the genes.
A vector of SNP IDs. Only show loops connected to the SNPs.
Logical. If TRUE, only shows protein coding gene.
Color SNPs in the PIP track by
locus, cs (credible sets), or none (same color).
SNPs (rsIDs) to highlight. Or highlight top SNP ('topSNP').
ylim range (default: between 0 and 1) for the counts tracks
Colors for the counts tracks
Colors for the peak tracks
Colors for the highlighted SNPs
Side to put gene labels, options are: 'above' (default), 'below', 'left', 'right'.
Sizes of the tracks
The rotation angle for the text in the track title
If TRUE, print detail messages for plotting