assoc_ZiR.ZjR: Association between variable Z_{iR} and Z_{jR}.

Description Usage Arguments Details Value Note Author(s) Examples

Description

Finding association between variable Z_{R} at i^th position and Z_{R} at j^th position. Here, the standard normal variable Z_{R} reprsents the occurences of nucleotides A and G at any position based on some threshold value.

Usage

1
assoc_ZiR.ZjR(x, rZiZj, rZiZjR)

Arguments

x

A dataframe of position wise aligned sequence dataset having A, T, G and C only.

rZiZj

An object generated by using the function assoc_Zi.Zj.

rZiZjR

An object generated by using the function assoc_Zi.ZjR.

Details

The user has to supply the input dataset as well as the outputs generated from the functions assoc_Zi.Zj and assoc_Zi.ZjR.

Value

A numeric matrix of order L by L for the dataset of L nucleotides long sequences.

Note

It may happen that the convergence will not reach after a ceratin number of iterations and will not produce any output. In such situation, the user is advised to exclude or include some positions , or otherwise include or exclude certain sequences. The user should exploit both options till convergence is reached.

Author(s)

Prabina Kumar Meher & A. R. Rao

Examples

1
2
3
4
5
6
data(don_dat)
kk <- don_dat[1:300,]
zizj <- assoc_Zi.Zj(x=kk)
zizjr <- assoc_Zi.ZjR(x=kk, rZiZj=zizj)
zirzjr <- assoc_ZiR.ZjR(x=kk, rZiZj=zizj, rZiZjR=zizjr)
zirzjr

corrDNA documentation built on May 2, 2019, 9:32 a.m.