cozygene / FEAST

Fast expectation maximization for microbial source tracking
Other
115 stars 60 forks source link

issue with FEAST matrix #63

Open lorenzovergani89 opened 3 months ago

lorenzovergani89 commented 3 months ago

Dear FEST group, I am traying to use FEAST with a dataset that includes multiple sinks (A, B and C, each of them with replicate samples) teach tested with distinct sources (a different one with replicate samples for each set of sinks). I set different_sources_flag = 1, but I guess I did something wrong when preparing the metadata and count imput table, as I get the following errors:

Error in if (sum(x[i, ]) > maxdepth) { : missing value where TRUE/FALSE needed In addition: Warning messages: 1: In matrix(sinks, nrow = 1, ncol = dim(totalsource)[2]) : data length differs from size of matrix: [32736 != 1 x 1364] 2: In matrix(sinks, nrow = 1, ncol = dim(totalsource)[2]) : data length differs from size of matrix: [32736 != 1 x 1364] 3: In matrix(sinks, nrow = 1, ncol = dim(totalsource)[2]) : data length differs from size of matrix: [16368 != 1 x 1364]

Any suggestions?