Description Usage Arguments Details Value Examples
View source: R/AnnotateResults.R
Given a data frame with regions in the genome, add gene symbols, UCSC reference gene accession, UCSC reference gene group and relation to CpG island.
1 | AnnotateResults(lmmRes_df, arrayType = c("450k", "EPIC"), nCores_int = 1L, ...)
|
lmmRes_df |
A data frame returned by
Optionally, the data frame can also has |
arrayType |
Type of array: 450k or EPIC |
nCores_int |
Number of computing cores to be used when executing code in parallel. Defaults to 1 (serial computing). |
... |
Dots for additional arguments passed to the cluster constructor.
See |
The region types include "NSHORE", "NSHELF",
"SSHORE", "SSHELF", "TSS1500", "TSS200",
"UTR5", "EXON1", "GENEBODY", "UTR3", and
"ISLAND".
A data frame with
the location of the genomic region's chromosome (chrom),
start (start), and end (end);
UCSC annotation information (UCSC_RefGene_Group,
UCSC_RefGene_Accession, and UCSC_RefGene_Name); and
a list of all of the probes in that region (probes).
1 2 3 4 5 6 7 8 9 10 11 12 | lmmResults_df <- data.frame(
chrom = c("chr22", "chr22", "chr22", "chr22", "chr22"),
start = c("39377790", "50987294", "19746156", "42470063", "43817258"),
end = c("39377930", "50987527", "19746368", "42470223", "43817384"),
regionType = c("TSS1500", "EXON1", "ISLAND", "TSS200", "ISLAND"),
stringsAsFactors = FALSE
)
AnnotateResults(
lmmRes_df = lmmResults_df,
arrayType = "450k"
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.