Description Usage Arguments Value Author(s) Examples
The data.to.PIGE function prepare your data to be
analysed by the functions permutation.snp
and compute.p.snp.obs
.
1 2 | data.to.PIGE(data, data.pathway, list.gene.snp,
choice.pathway = NULL)
|
data |
a data frame containing the variables in the model and the SNP. |
data.pathway |
A data frame (Gene X Pathway) of 0 and 1 values. The rownames (gene name considered) and the colnames (names of the studied pathways). have to be specified. The value 1 indicates that a gene is included in the corresponding pathway. |
list.gene.snp |
List containing for each gene the
names of the SNPs belonging to it. This list could be
generated by |
choice.pathway |
names or indice of the pathway to be analysed. |
The returned value is a list containing:
data.pathway |
A data frame (Gene X Pathway) of 0
and 1 values similar as |
tab.snp.gene |
A matrix with in the first column the names of the SNPs and the corresponding gene on the second column. Note that a SNPs could belong to several gene. |
snp.selected |
A vector of names corresponding to the SNPs analalysed. |
Benoit Liquet
benoit.liquet@isped.u-bordeaux2.fr
Therese
Truong therese.truong@inserm.fr
1 2 3 4 5 6 7 8 9 | data(data.pathway)
data(data.pige)
data(list.gene.snp)
#Example: one pathway
res1 <-data.to.PIGE(data=data.pige,data.pathway=data.pathway,
list.gene.snp=list.gene.snp,choice.pathway=c(2))
#Example: two pathways
res <-data.to.PIGE(data=data.pige,data.pathway=data.pathway
,list.gene.snp=list.gene.snp,choice.pathway=c(1,2))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.