LOG10P column. It is taken from a -log10(p)
column, from p-values read as text (e.g. 1e-400) or from a LOG10P
column next to P, and all plots, top_hits() and print() use it.
Before, these variants were dropped from the plots (#2).manhattan_genes() takes gene labels from the plotted points, so labels sit
on their peaks also with chromosomes, y_truncate and
y_metric = "beta_min", and labels of chromosomes that are not shown are
dropped. Labels use a fixed seed and no overlap limit, so every run shows
the same set (#3).Seqinfo from NCBI or UCSC by
assembly name, and the hg38 example takes chromosome lengths from a TxDb.set_sex_chr_map() uses the GRCg6a chromosomes.Changes from the Bioconductor review. They break the API of the functions listed below.
GRanges, TxDb or EnsDb objects in
gene_track(), locus_plot(), annotate_genes(), manhattan_genes(),
top_hits() and annotate_positions(). A data.frame is no longer accepted.enrichment_manhattan() and highlight_regions() are
now GRanges (or a named GRangesList), and overlaps use
GenomicRanges::findOverlaps().gene_track(), locus_plot(), coloc_plot() and finemapping_plot() take
one region (a GRanges or a "chr:start-end" string) instead of
region_chr, region_start and region_end. gene_track() takes exons as
a GRangesList from exonsBy(), or exons = TRUE with a TxDb/EnsDb.GenomicRanges::distanceToNearest(), so the
distance is now measured to the gene body (0 inside a gene), not to its
midpoint.snp_density() and density_signal_plot() take chromosome lengths from a
Seqinfo (seqinfo =) and snp_density() takes centromeres as GRanges
(centromeres =).set_sex_chr_map() accepts a Seqinfo and numbers X, Y, Z, W and MT from
it. set_sex_chr_map(NULL) now really turns the mapping off.annotate_positions() takes an annotation object and returns a GRanges;
value_manhattan() takes annotation = and also accepts a GRanges.read_gtf() (use rtracklayer::import()), gene_annotation() and
the bundled gene tables (use TxDb/EnsDb packages), and
chr_info_human(), chr_info_mouse(), chr_info_cattle() and
chr_info_ucsc() (use Seqinfo).manhattan_genes() placing gene labels over the wrong chromosomes when
only some chromosomes have labelled peaks.summary() of a gwas_data object now returns a summary object with its own
print method.LazyData: false, depend on R >= 4.6.0, add BiocType: Software, and
drop inst/CITATION (Bioconductor generates the citation).value_manhattan() to plot any per-feature value (rankings, effect
sizes, scores) along the genome in Manhattan style.annotate_positions() to map Ensembl gene IDs or symbols to genome
coordinates from a GTF, bundled data, biomaRt, or an EnsDb.value_manhattan() can look up coordinates from a gene-ID column directly
via annotate and id.gene_id column.scale_color_chromosome(),
scale_fill_chromosome(), scale_color_gwas() and scale_fill_gwas() gain
a chromosomes argument for the same reason.manhattan_plot() with a single y_truncate value now keeps the peaks above
the break and compresses them, instead of dropping everything up to the topNULL)trumpet_plot(), forest_plot() and effect_compare_plot() match column
names case-insensitively, like as_gwas_data()pos, #chrom, alt, ...) are recognized-log10(p) columns (LOG10P, neg_log_pvalue, ...) are auto-detected and
back-transformedas_granges() exports results to a
Bioconductor GRanges, and as_gwas_data() now accepts GRanges inputtrumpet_plot(): effect size versus minor allele frequency with
statistical-power contours showing which variants a study can detectforest_plot() for effect estimates with confidence intervals across
cohorts or lead variantseffect_compare_plot() comparing variant effects between two studies
on their shared variantsgene_annotation() with bundled protein-coding genes for GRCh37 and
GRCh38, so regional and gene-labelled plots work without a GTFgene_track() now renders full exon structure when given exon_datasmart_downsample() with exponential-key weighted samplingy_truncate parameter for Manhattan plots with broken y-axis,
showing extreme p-values in a compressed zone above the breaksnp_density() with heatmap and points styles for SNP density
karyograms with centromere markersdensity_signal_plot() dual-track comparison of genotyping
density vs association signalchr_info_human(), chr_info_mouse(), chr_info_cattle() for
built-in chromosome data, and chr_info_ucsc() for any UCSC assemblypvalue_heatmap() to eliminate gapsfilter_region(), maf_filter(), merge_gwas(),
get_loci()highlight_regions()Initial Bioconductor pre-release.
manhattan_genes() for labeling peaks with gene namesannotate_genes() for nearest-gene mappingtop_hits() with clumping and cytoband estimationhighlight_regions() for marking genomic regionsgwas_preset()as_gwas_data() constructor with validation