getGeneFeaturesPrototypes: Get feature vector representation of genes relative to...

Description Usage Arguments Details Value Note Author(s) References See Also Examples

View source: R/geneSimilarity.R

Description

Computes feature vectors for list of genes: Each gene is represented by its similarities to predefined prototype genes.

Usage

1
2
3
getGeneFeaturesPrototypes(genelist, prototypes = NULL,
                          similarity = "max", similarityTerm = "JiangConrath",
                          pca = TRUE, normalization = TRUE, verbose = FALSE) 

Arguments

genelist

character vector of Entrez gene IDs

prototypes

character vector of Entrez gene IDs representing the prototypes

similarity

method to calculate the similarity to prototypes

similarityTerm

method to compute the GO term similarity

pca

perform PCA on feature vectors to reduce dimensionality

normalization

scale the feature vectors to norm 1

verbose

print out additional information

Details

If no prototypes are passed, the method calls the selectPrototypes function with no arguments. Hence, the prototypes in this case are the 250 genes with most known annotations.

The PCA postprocessing determines the principal components that can explain at least 95% of the total variance in the feature space.

The method to calculate the functional similarity of a gene to a certain prototype can be any of those described in getGeneSim.

Value

List with items

"features"

feature vectors for each gene: n x d data matrix

"prototypes"

prototypes (= prinicipal components, if PCA has been performed)

Note

The result depends on the currently set ontology ("BP","MF","CC").

Author(s)

Holger Froehlich

References

[1] H. Froehlich, N. Speer, C. Spieth, and A. Zell, Kernel Based Functional Gene Grouping, Proc. Int. Joint Conf. on Neural Networks (IJCNN), 6886 - 6891, 2006

[2] N. Speer, H. Froehlich, A. Zell, Functional Grouping of Genes Using Spectral Clustering and Gene Ontology, Proc. Int. Joint Conf. on Neural Networks (IJCNN), pp. 298 - 303, 2005

See Also

getGeneSimPrototypes, selectPrototypes, getGeneSim, getTermSim, setOntology

Examples

1
	# see selectPrototypes

Example output

Loading required package: GO.db
Loading required package: AnnotationDbi
Loading required package: stats4
Loading required package: BiocGenerics
Loading required package: parallel

Attaching package:BiocGenericsThe following objects are masked frompackage:parallel:

    clusterApply, clusterApplyLB, clusterCall, clusterEvalQ,
    clusterExport, clusterMap, parApply, parCapply, parLapply,
    parLapplyLB, parRapply, parSapply, parSapplyLB

The following objects are masked frompackage:stats:

    IQR, mad, sd, var, xtabs

The following objects are masked frompackage: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:S4VectorsThe following object is masked frompackage:base:

    expand.grid


Loading required package: annotate
Loading required package: XML

GOSim documentation built on Nov. 8, 2020, 11:05 p.m.