Description Usage Arguments Value Methods (by class) Examples
parseInputFile
takes a mixed file containing group identifiers
(numeric) and gene names, returning the list of group identifiers and genes
with the remaining columns removed.
The package was originally written to work from a file laid out thus:
group_id1
gene_name1
gene_name2
group_id2
gene_name1
gene_name3
The methods assume that both group identifiers and gene names are
alphanumeric; the group identifiers, where present, begining with a number
and gene names starting with a character.
please note, this populates the vector with only the alphanumric strings
beginning each line of the input file. Also, RNA genes (begining ENSG000)
are currently excluded.
1 2 3 4 | parseInputFile(x, file)
## S4 method for signature 'geneanno'
parseInputFile(x, file)
|
x |
object of class geneanno. |
file |
character string providing the name of the input file |
vector of character strings, as exemplified by the inputlist data object.
geneanno
: vector of character strings
1 2 3 4 | data("inputlist")
write(myinputlist,file="inputlist.txt")
x <- geneanno()
x <- parseInputFile(x,"inputlist.txt")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.