getGeneInfo: Retrieve information for top contributing genes for a given...

Description Usage Arguments Value Examples

View source: R/getGeneInfo.R

Description

Generate a dataframe with gene information for top contributors for a given IC or PC

Usage

1
2
getGeneInfo(input_list = NULL, comp_idx = NULL, geneinfo_df = NULL,
  n_peaks = 10)

Arguments

input_list

ICA or PCA object generated by 'runICA()' or 'runPCA'

comp_idx

Component number to be plotted.

geneinfo_df

Dataframe containing information about the gene positions. This is used to generate the gene weight plot.

n_peaks

Number of top contributors to show. Default is set to 10.

Value

dataframe with positional information of genes

Examples

1
2
3
4
5
6
7
data(expr_data, probe_info)

ica_result <- runICA(expr_data)
getGeneInfo(input_list = ica_result,
              comp_idx = 1,
              geneinfo_df = probe_info,
              n_peaks = 10)

jinhyunju/picaplot documentation built on May 19, 2019, 10:35 a.m.