tntplot: TnT approach

View source: R/viz.R

tntplotR Documentation

TnT approach

Description

TnT approach

Usage

tntplot(tab, snpcolor = "lightblue", genecolor = "gold", gt = NULL, maxp = 0.1)

Arguments

tab

table

snpcolor

character(1)

genecolor

character(1)

gt

defaults to NULL, otherwise a GeneTrackFromTxDb-like object from TnT

maxp

numeric(1) if non-NULL loci with p-values greater than this are excluded

Examples

if (requireNamespace("TnT") & requireNamespace("TxDb.Hsapiens.UCSC.hg38.knownGene")) {
data(gtex_b38_lung_chr20_exc)
cands = avail_syms_gtex()
cands
chk2 = gtex_b38_lung_chr20_exc |> filter_sym(cands[3], radius=5e5) |> as.data.frame()
print(tntplot(chk2))
}

vjcitn/tnt4dn8 documentation built on Sept. 10, 2022, 11:17 a.m.