as_genes_fgs: Create single-gene FGS

Description Usage Arguments See Also Examples

View source: R/as-genes-fgs.r

Description

Each network node X becomes an FGS itself, so that e.g. each ID 'X' generates a list entry named 'X', the content of which is c('X'), i.e. this same gene/protein. The total length of the FGS list then equals the number of nodes in the network. This is a way to create single-gene "quasi-pathways" for a more specific network enrichment analysis.

Usage

1
as_genes_fgs(Net.list, Lowercase = 1)

Arguments

Net.list

the global network object, pre-created using import.net

Lowercase

render gene/protein IDs lower-case (Default:1)

See Also

import.net, import.gs

Examples

1
2
3
4
5
data(net.kegg)
netpath <- net.kegg
net <- import.net(netpath)
fgs.genes <- as_genes_fgs(net)
print(fgs.genes[1:10])


NEArender documentation built on May 19, 2017, 8:32 p.m.
Search within the NEArender package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.