get_geneProfile | R Documentation |
Load a gene-profile from a txt file.
get_geneProfile(ffile)
ffile |
a character string or a list of a character pointing to a local file |
The txt file contains two columuns separated by a tabulation. The first column is the gene name ( or entrez, ensembl, etc); the second column are the numeric values associated with each gene. The profile do not need to be sorted.
As an example, see the file in /massiveGST/extdata/pre_ranked_list.txt
See the path in the example below.
A named list of numeric values.
Stefano M. Pagnotta
pre_ranked_list
fname <- system.file("extdata", package="massiveGST")
fname <- file.path(fname, "pre_ranked_list.txt")
fname
geneProfile <- get_geneProfile(fname)
class(geneProfile)
head(geneProfile)
tail(geneProfile)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.