Description Usage Arguments merge annotateStat annotateMAF annotateLocation annotateBioconductor annotateGOSim annotateRSID annotateCoding See Also
Appends annotations for each
FeatureID
to annotations(mdt)
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 | annotateStat(x, function_list = list(FISHER = function(x, y) {
stats::fisher.test(table(factor(x, c(0L, 1L, 2L)), factor(y, c(0L,
1L))))$p.value }, HW = function(x, y) {
HardyWeinberg::HWExact(table(factor(x, c(0L, 1L, 2L))), verbose = FALSE)$pval
}), fill = NA, verbose = TRUE)
annotateLocation(x, txdb, region = VariantAnnotation::AllVariants(),
columns = c("LOCATION", "ENTREZID"), verbose = TRUE)
annotateBioconductor(x, annotations_db, keys_colname, columns,
keytype = keys_colname, verbose = TRUE)
annotateCoding(x, seqSource, txdb, columns = c("CONSEQUENCE"),
verbose = TRUE)
annotateMAF(x)
annotateRSID(x, snp_loc, verbose = TRUE)
## S4 method for signature 'MDT'
annotateMAF(x)
## S4 method for signature 'MDT'
annotateStat(x, function_list = list(FISHER = function(x, y) {
stats::fisher.test(table(factor(x, c(0L, 1L, 2L)), factor(y, c(0L,
1L))))$p.value }, HW = function(x, y) {
HardyWeinberg::HWExact(table(factor(x, c(0L, 1L, 2L))), verbose = FALSE)$pval
}), fill = NA, verbose = TRUE)
## S4 method for signature 'MDT'
annotateLocation(x, txdb,
region = VariantAnnotation::AllVariants(), columns = c("LOCATION",
"ENTREZID"), verbose = TRUE)
## S4 method for signature 'MDT'
annotateBioconductor(x, annotations_db, keys_colname, columns,
keytype = keys_colname, verbose = TRUE)
## S4 method for signature 'MDT'
annotateCoding(x, seqSource, txdb, columns = c("CONSEQUENCE"),
verbose = TRUE)
## S4 method for signature 'MDT'
annotateRSID(x, snp_loc, verbose = TRUE)
## S4 method for signature 'MDT,data.frame'
merge(x, y, by = "FeatureID", all = FALSE,
all.x = TRUE, all.y = FALSE, sort = TRUE, allow.cartesian = TRUE)
|
x |
|
function_list |
|
fill |
Value to replace missing values in |
verbose |
|
txdb |
|
region |
An instance of one of the 8 VariantType classes :
When using |
columns |
Column names to be appended to |
annotations_db |
|
keys_colname |
Name of column to be used as |
keytype |
the keytype that matches the keys used. For the
|
seqSource |
|
snp_loc |
|
y |
|
by |
A vector of shared column names in |
all |
logical; |
all.x |
logical; if |
all.y |
logical; analogous to |
sort |
logical. If |
allow.cartesian |
See |
name |
Name of appended column to |
target_go |
Target GO list. |
Merges a data.frame
to annotations using FeatureID
s.
Estimates association between mtable(mdt)
feature
and response(mdt)
. By default, appends Fisher's exact test p-value and
Hardy-Weinberg equilibrium exact test p-values.
Results can be visualized using manhattanPlot
.
Estimates minor allele frequency.
Annotates genomic positions by locating variants
with respect to gene function using
locateVariants
.
Please note that GENEID
is renamed as ENTREZID
.
Annotates variants with Bioconductor
AnnotationDb
objects using
select
.
Estimates GO semantic similarity scores between a gene vector and a target GO terms vector.
Uses mgoSim
to estimate GO scores.
annotation(mdt)
must contain GO
and ONTOLOGY
columns
before running function. Please call annotateBioconductor
to do so.
Annotates dbSNP RS identification numbers
using findOverlaps
.
Predict coding changes (e.g. synonymous, frameshift) for variants by using
predictCoding
.
AnnotationDb
locateVariants
TxDb
predictCoding
BSgenome
PolyPhenDb
SIFTDb
SNPlocs
mgoSim
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.