tri.app(ms, ET, M.exp, E.exp, T.exp, N = 0.25, method = "pearson", iqr.filter = c(log2(1.5), log2(1.5), log2(1.5)), cor.MvsET = c(0.3, 0.3), cor.EvsT.dif = 0.45, cor.EvsT.abs = 0.4, ET.fc.filter = log2(1.5) , ET.p.filter = 0.01 , rand = 100,correction="BH",cores=1)p.adjust.methods.
triplets predicted triplets and related information,a 7 columns dataframe as following:
modulator effector target represented modulator/effector/target names,respectively;
R_low R_high effector-target correlation in LOW/HIGH sample group,respectively;
P_value significance of the triplet;
fdr corrected P_value by the assigned method;
initialnot names of modulators whose expression is not in initial expression profile
(M.exp);
filterdnot names of modulators whose expression is in initial expression profile but
not in filterd profile by IQR;
This function running a time checked whether a modulator in a sets,one by one,can affect the ability of a effector sets to regulate their corresponding targets.Please go to Kai Wang,M. et al. Genome-wide identification of post-translational modulators of transcription factor activity in human B cells. Nature biotechnology,27, 829-837 (2009) for detailed information.
The running time and the memory required was increasing as the possible triplets increased.To speed-up the analysis,the function implemented parallel computations when runned on multi-core machines. It used mclapply function in the parallel package to make use of all the CPUs available on the system, with each core simultaneously performing part of the runs.If the possible triplets are big,please work on a big memory machine.
##Different types of candidate modulators to predict
##Here we take four candidate modulators for example
##Two for modulator;one for initialnot;one for filterdnot(see value section in details)
tri.app(ms=datatests[["m_app"]],ET=datatests[["ET"]],M.exp=datatests[["M_exp"]],
E.exp=datatests[["E_exp"]],T.exp=datatests[["T_exp"]])
Run the code above in your browser using DataLab