applying sapply or other apply function instead of nested for loop for lists of data frames
问题 I have two data frames/ lists of datas 'humanSplit and ratSplit` and they are of the form > ratSplit$Kidney_F_GSM1328570 ratGene ratReplicate alignment RNAtype 1 Crot Kidney_F_GSM1328570 7 REV 2 Crot Kidney_F_GSM1328570 12 REV 3 Crot Kidney_F_GSM1328570 4 REV and > humanSplit$Fetal_Brain_408_AGTCAA_L009_R1_report.txt humanGene humanReplicate alignment RNAtype 53 ZFP28 Fetal_Brain_408_AGTCAA_L009_R1_report.txt 5 reg 55 RC3H1 Fetal_Brain_408_AGTCAA_L009_R1_report.txt 9 reg 56 IFI27 Fetal_Brain