Euclid_Im-methods: Euclid_Im

Euclid_ImR Documentation

Euclid_Im

Description

Accessor to the Observations Image Euclidean, i.e. the projections from LinkData output.

Usage

## S4 method for signature 'DistStatis'
Euclid_Im(x)

Arguments

x

an object from DistSatis class.

Value

Euclid_Im Euclidean image of the input tables in LinData function.

Examples

{
data(Taraoceans)
pro.phylo <- Taraoceans$taxonomy[ ,'Phylum']
TaraOc<-list(Taraoceans$phychem,as.data.frame(Taraoceans$pro.phylo)
,as.data.frame(Taraoceans$pro.NOGs))
TaraOc_1<-scale(TaraOc[[1]])
Normalization<-lapply(list(TaraOc[[2]],TaraOc[[3]]),
function(x){DataProcessing(x,Method='Compositional')})
colnames(Normalization[[1]])=pro.phylo
colnames(Normalization[[2]])=Taraoceans$GO
TaraOc<-list(TaraOc_1,Normalization[[1]],Normalization[[2]])
names(TaraOc)<-c('phychem','pro_phylo','pro_NOGs')
TaraOc<-lapply(TaraOc,as.data.frame)
Output<-LinkData(TaraOc,Scale =FALSE,Distance = c('ScalarProduct','Euclidean','Euclidean'))
Euclid_Im(Output)
}

lauzingaretti/LinkHD documentation built on March 7, 2023, 9:21 a.m.