Learn R Programming

STATegRa (version 1.0.0)

bioDistclass: bioDistclass

Description

Class to manage mappings between genomic features.

Usage

bioDistclass(name,distance, map.name,map.metadata,params)

Arguments

name
name assigned to the object
distance
A matrix object that stores the distance between features
map.name
Character that stores the name of the bioMap object used to compute the distance.
map.metadata
a list of parameters used to generate the mapping
params
a list of parameters used to generate the distance

Value

An object of class bioDistclass

See Also

bioMap

Examples

Run this code
# Definition of a bioDistclass Object
data(STATegRa_S1)
## Create ExpressionSets
mRNA.ds <- createOmicsExpressionSet(Data=Block1,pData=ed,pDataDescr=c("classname"))

require(Biobase)

## Create bioDistclass Object
bioDistmRNA<-bioDistclass(name = "mRNAbymRNA",
                 distance = cor(t(exprs(mRNA.ds)),method="spearman"),
                 map.name = "id",
                 map.metadata = list(),
                 params = list())

Run the code above in your browser using DataLab