## Loading the dataset
data(gastro)
## Constructing the relevance network (Butte's method) for sample
## 'Tissue' equal to 'Neso' for the 1st gene group
gastro.net = relNetworkB(gastro.summ, sLabelID="Tissue",
samples="Neso", geneGrp=1, type="Rpearson")
## Constructing the relevance network (Butte's method) for sample
## 'Type' equal to 'Col' for the 1st gene group using the conventional
## pearson correlation
gastro.net = relNetworkB(gastro.summ, sLabelID="Type",
samples="Col", geneGrp=1, type="pearson")
Run the code above in your browser using DataLab