Description Usage Arguments Details Value Author(s) See Also Examples
This function read a directory and read files containing the genes for
specific gene groups. This files must have one gene per line. This
function stores the gene groups read in the slot GeneGrps
into
objects of class maigesPreRaw
.
1 | addGeneGrps(data, folder="./", ext=".txt")
|
data |
object of |
folder |
char string specifying the directory of gene groups. The function tests the presence or not of the final bar. |
ext |
string giving the extension of the files, defaults to '.txt'. The function also tests the presence of the initial dot. |
If the data
object already has gene groups with names equal
to some someones that are been read, the groups with repeated names
are not added. Warning messages are printed for every repeated group
name.
The folder
directory must contain only one file for each gene
group of interest. These files must discriminate one gene per line. The
identification of the genes must be done by one of the gene labels
given by genemap
(see loadData
).
This function returns another object of class
maigesPreRaw
, with the slot GeneGroups
actualised.
Gustavo H. Esteves <gesteves@vision.ime.usp.br>
1 2 3 4 5 | ## Don't run because you don't have the gene sets in a readable folder.
## Not run:
gastro = addGeneGrps(gastro, folder="geneGrps", ext="txt")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.