Description Usage Arguments Details Value Note Author(s) References See Also Examples
View source: R/geneSimilarity.R
Computes feature vectors for list of genes: Each gene is represented by a vector describing the presence/absence of all GO terms. The absence of each GO term is additionally weighted by its information content.
1 | getGeneFeatures(genelist, pca=FALSE, normalization=FALSE, verbose=FALSE)
|
genelist |
character vector of Entrez gene IDs |
pca |
perform PCA on feature vectors to reduce dimensionality |
normalization |
scale the feature vectors to norm 1 |
verbose |
print out additional information |
The PCA postprocessing determines the principal components that can explain at least 95% of the total variance in the feature space.
matrix with rows being genes and columns being GO terms.
The result depends on the currently set ontology ("BP","MF","CC").
Holger Froehlich
M. Mistry, P Pavlidis, Gene Ontology term overlap as a measure of gene functional similarity, BMC Bioinformatics, 9:327, 2008.
getGeneSimPrototypes
,
selectPrototypes
, getGeneSim
,
getTermSim
, setOntology
1 | # see selectPrototypes
|
Loading required package: GO.db
Loading required package: AnnotationDbi
Loading required package: stats4
Loading required package: BiocGenerics
Loading required package: parallel
Attaching package: ‘BiocGenerics’
The following objects are masked from ‘package:parallel’:
clusterApply, clusterApplyLB, clusterCall, clusterEvalQ,
clusterExport, clusterMap, parApply, parCapply, parLapply,
parLapplyLB, parRapply, parSapply, parSapplyLB
The following objects are masked from ‘package:stats’:
IQR, mad, sd, var, xtabs
The following objects are masked from ‘package:base’:
anyDuplicated, append, as.data.frame, basename, cbind, colnames,
dirname, do.call, duplicated, eval, evalq, Filter, Find, get, grep,
grepl, intersect, is.unsorted, lapply, Map, mapply, match, mget,
order, paste, pmax, pmax.int, pmin, pmin.int, Position, rank,
rbind, Reduce, rownames, sapply, setdiff, sort, table, tapply,
union, unique, unsplit, which.max, which.min
Loading required package: Biobase
Welcome to Bioconductor
Vignettes contain introductory material; view with
'browseVignettes()'. To cite Bioconductor, see
'citation("Biobase")', and for packages 'citation("pkgname")'.
Loading required package: IRanges
Loading required package: S4Vectors
Attaching package: ‘S4Vectors’
The following object is masked from ‘package:base’:
expand.grid
Loading required package: annotate
Loading required package: XML
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.