filter_sym | R Documentation |
filter a symbol from a table meeting dn8 naming conditions, note, hg38 coordinates are expected and not lifted over
filter_sym(.data, sym, radius = 0)
.data |
a tbl |
sym |
a character(1) gene symbol |
radius |
numeric(1) include 'radius' bp upstream and downstream of gene body limits |
if 'pos_b38' is found in the dn8 table, gene addresses from EnsDb.Hsapiens.v79 are used to get gene addresses in hg38 coordinates.
if (interactive()) { data(gtex_b38_lung_chr20_exc) chk = gtex_b38_lung_chr20_exc |> filter_sym("ANGPT4", radius=5e5) |> as.data.frame() print(names(chk)) print(dim(chk)) print(summary(-log10(chk$p))) chk2 = gtex_b38_lung_chr20_exc |> filter_sym("FAM110A", radius=1e6) |> as.data.frame() print(dim(chk2)) print(summary(-log10(chk2$p))) }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.