I'm trying to run your bagpipe function on some data generated using the read_alphabetr function. However, with the following inputs I receive the error in the title of this issue.
dat <- read_alphabetr(data = "LH136_139_alphabetr_input.csv")
> dat
$alpha
[,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [,9] [,10] [,11] [,12] [,13] [,14] [,15] [,16] [,17] [,18]
[1,] 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
[2,] 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0
[3,] 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 1 1
[4,] 0 0 1 0 0 0 1 0 0 0 1 0 0 1 0 0 0 0
[,19] [,20] [,21] [,22] [,23] [,24] [,25] [,26] [,27] [,28] [,29] [,30] [,31] [,32] [,33] [,34]
[1,] 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
[2,] 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
[3,] 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
[4,] 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0
[,35] [,36] [,37] [,38] [,39] [,40] [,41] [,42] [,43] [,44] [,45] [,46] [,47] [,48] [,49] [,50]
[1,] 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
[2,] 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
[3,] 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0
[4,] 0 1 0 0 1 1 1 1 1 1 1 1 1 1 1 1
[,51] [,52]
[1,] 0 0
[2,] 0 0
[3,] 0 0
[4,] 1 1
$beta
[,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [,9] [,10] [,11] [,12] [,13] [,14] [,15] [,16] [,17] [,18]
[1,] 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0
[2,] 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1
[3,] 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0
[4,] 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0
[,19] [,20] [,21] [,22] [,23] [,24] [,25] [,26] [,27] [,28] [,29] [,30] [,31] [,32] [,33] [,34]
[1,] 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
[2,] 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
[3,] 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0
[4,] 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0
[,35] [,36] [,37] [,38] [,39] [,40] [,41] [,42] [,43] [,44] [,45] [,46] [,47] [,48] [,49] [,50]
[1,] 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
[2,] 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0
[3,] 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1
[4,] 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
[,51] [,52] [,53] [,54] [,55] [,56] [,57] [,58] [,59] [,60] [,61] [,62] [,63] [,64] [,65] [,66]
[1,] 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
[2,] 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
[3,] 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
[4,] 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
[,67] [,68] [,69] [,70] [,71] [,72] [,73] [,74] [,75] [,76] [,77] [,78] [,79] [,80] [,81] [,82]
[1,] 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
[2,] 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
[3,] 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0
[4,] 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1
[,83] [,84] [,85] [,86] [,87] [,88] [,89] [,90] [,91]
[1,] 0 0 0 0 0 0 0 0 0
[2,] 0 0 0 0 0 0 0 0 0
[3,] 0 0 0 0 0 0 0 0 0
[4,] 1 1 1 1 1 1 1 1 1
$alpha_lib
[1] "CLVGADP_YGQNFVF" "CIVSFRNNAGNMLTF" "CVLTTDSWGKLQF" "CAASLTGRRALTF"
[5] "CAAGAHRG_GGSYIPTF" "CALRRNNNAGNMLTS" "CATGNGH_GRRALTF" "CTTGNGH_GRRALTF"
[9] "CVVNAMDSSYKLIF" "CAADNAGNNRKLIW" "CVVNSGMDTGRRALTF" "CAYRGYGGSQGNLIF"
[13] "CLGE*II_AGNMLTF" "CVVNRNQAGTALIF" "CIVRSTGTASKLTF" "CAGTGGFGNVLHC"
[17] "CATDHYNQGGKLIF" "CAGAVETSGSRLTF" "CAVSPYGGSQGNLIF" "CVVHRNAGNNRKLIW"
[21] "CAVRALSGGYNKLIF" "CAVNDTGNNRKLIW" "CAADGGATNKLIF" "CATNTGTASKLTF"
[25] "CALTGGGNKLTF" "CAVGDYKLSF" "CAVEDQGIM_GATNKLIF" "CAVGDRQR_STLGRLYF"
[29] "CAVDAGDTGRRALTF" "CAARVSGEYGNKLVF" "CAVSPPG_QDYKLSF" "CAVTTFTGGLKTIF"
[33] "CAVSGGNQGGKLIF" "CAVEDPNDYKLSF" "CAVHSGTYKYIF" "CAAGTGRRALTF"
[37] "CATPQGEKLTF" "CAVGDHKLSF" "CAAKKGDYKLSF" "CAASASDWGKLQF"
[41] "CAVSLTGTASKLTF" "CAVEDRSGNTPLVF" "CAASNHDMRF" "CAAPNQAGTALIF"
[45] "CLGWNTNAGKSTF" "CIVRRPFTGGGNKLTF" "CVVNTETDSSYKLIF" "CAVSEMNQAGTALIF"
[49] "CAGHGGHNAGNMLTF" "YAASASDWGKLQF" "CAGSSNTGKLIF" "CAAKGSGDMRF"
$beta_lib
[1] "CASRPEGQGNTEASF" "CASRPTSGDSTDTQYF" "CASSYRGPYNSPLHF" "CASSPPYNEQFF"
[5] "CASSETVVEQFF" "CASSLRGPRNTYNEQFF" "CSAGEGQTTEAFF" "CASSGDGTRASGELFF"
[9] "CASSLTPGLARNEQFF" "CASSWDRGREQFF" "CASSNRDREYV" "CASMGMDPANEQFF"
[13] "CSVDPTGENYGYTF" "CASSGDGT_GRPGSCFF" "CASSLRGQ_NTYNEQFF" "CASSFQNGGRSDEQFF"
[17] "CASSMWDRGIGYEQYF" "CASSLTPGPARNEQFF" "CASSRLAGGITNTDTQYF" "CASSLRGPR_HTYNEQFF"
[21] "CASSLAQGGSYNSPLHF" "CASSPPGP_GRDNEQFF" "CASSGDGG_RASGELFF" "CASSGDGD_RASGELFF"
[25] "CASSQDLAGSYNEQFF" "CGSSFVAGGLPNEQFF" "CSARDRAGGTTGELFF" "CASSGDGL_ASGELFF"
[29] "CASRRDRAVNTEAFF" "CASSEDRAYSHEQFF" "CASSLALVAYNEQFF" "CSVGGGTAENTEAFF"
[33] "CPGPPGC_STDTQYF" "CAIRGPAGKNEQFF" "CASTGGGSYNEQFF" "CASSTTGTASERFF"
[37] "CASSLEENTEAFF" "CASSSSAGSPLHF" "CASSYPNTGELFF" "CASSRLVPYEQYV"
[41] "CSAGEEQTTEAFF" "CASSGT_GREQFF" "CSAGEG_DTEAFF" "CASRAPPWGYTF"
[45] "CANSGGENEQYV" "CASSSRDREYV" "CASSLQTGGPYEQYF" "CSVARDRGVNEQFF"
[49] "CASSSGLAGRNEQFF" "CASSLAQVNTGELFF" "CASGEGGAANEKLFF" "CASSPDNLRTDTQYF"
[53] "CASSYSLAGGPYEQFF" "CASSGEGQVNEKLFF" "CASSLVGETYNEQFF" "CASSPITTDTQYF"
[57] "CASSATASGGRETQYF" "CASSEGLGTSGFEQFF" "CASSPGTGNSNQPQHF" "CASSLSLGVGQPQHF"
[61] "CDSTPDRGNTEAFF" "CASSWASSYEQYF" "CASSYSLA_GGPYEQFF" "CASSWTGTTNTGELSF"
[65] "CASRPSGSTYNEQFF" "CASSQGTGRNEKLFF" "CASSSGLVGRNEQFF" "CASRFDYTGDNEQFF"
[69] "CASSPAGGTFYEQYF" "CASSQQGTPYYGYTF" "CASTPDRGNTEAFF" "CASSTGGSYNEQFF"
[73] "CASSFNRGTYEQYF" "CASSLVGDTGEQHF" "*ASSFNRGTYEQYF" "CASSSGSNYGYTF"
[77] "CASSFPGANVLTF" "CASSQVLNTEAFF" "CSARKVASGGSYYNEQFF" "CASRELASAETQYF"
[81] "CASSLGTEGNQPQHF" "CASSPRGGEKLFF" "CASSQLRTSGGLFYNEQFF" "CASSYTMRT_RGMYEQYF"
[85] "CASSLVYPGANTDTQYF" "CASSQIDHSTNQPQHF" "CAISGSGSYNEQFF" "CASSITGGGTEAFF"
[89] "CASRGGVSSYEQYF" "CASSGGQVNTEAFF" "CASSLRGLDTQYF"
> data_alpha <-dat$alpha
> data_beta<-dat$beta
> pairs <- bagpipe(alpha = data_alpha, beta = data_beta, rep = 5)
Error in app[, 1] : incorrect number of dimensions
Any suggestions? Thank you.