View source: R/adjl_to_G_grouped.R
adjl_to_G_grouped | R Documentation |
Internal function that constructs either a variable-coloured or uncoloured IMON (Integrated Multi-Omic Network) for an inputted adjacency list containing adjacency information between KEGG genes and queried SNPs.
adjl_to_G_grouped( adjl_G_S, unique_group_names, unique_group_cols, group_snps, colour_groups, ego, progress_bar )
adjl_G_S |
- adjacency list containing relevant adjacencies between inputted SNPs and genes from KEGG |
unique_group_names |
- a list of the unique group/variable names in the provided GWAS Catalog association file |
unique_group_cols |
- a list of unique colours for each unique group/variable in the provided GWAS Catalog association file |
group_snps |
- a recursive list containing the lists of SNPs belonging to each unique group/variable in the provided GWAS Catalog association file |
colour_groups |
- boolean: whether or not user has chosen to colour the network by the unique group/variables in the provided GWAS Catalog association file |
ego |
- the egocentric order (centred around the SNPs in the network) in which to build the network i.e. pathlength from SNPs downwards towards the metabolome |
progress_bar |
- boolean: whether or not user has decided to have a progress bar print to the console |
- an igraph object containing the IMON
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.