as_genes_fgs: Create single-gene FGS

Description Usage Arguments See Also Examples

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
data(net.kegg)
net <- import.net(net.kegg)
fgs.genes <- as_genes_fgs(net)
print(fgs.genes[1:10])

NEArender documentation built on May 2, 2019, 8:30 a.m.