Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Erreur dans if (sum(x[i, ]) > maxdepth) { : valeur manquante là où TRUE / FALSE est requis #28

Open
zina-R opened this issue Feb 14, 2022 · 2 comments

Comments

@zina-R
Copy link

zina-R commented Feb 14, 2022

I am trying to run FEAST on a 16S dataset of my samples and have encountered an error while running the algorithm. In my metadata file, I have multiple sinks. Unfortunately, the rownames of the two files are identical
Commands and error below:

metadata <- Load_metadata(metadata_path = "E:\\cc\\FEAST\\metadata.txt")
otus <- Load_CountMatriCountMatrix_path = "E:\\cc\\Desktop\\FEAST\\OTUS.txt")

FEAST_output <- FEAST(C = otus, metadata = metadata, different_sources_flag = 1, dir_path = "E:\\cc\\Desktop\\FEAST\\",
                      outfile="demo")

Erreur dans if (sum(x[i, ]) > maxdepth) { :
valeur manquante là où TRUE / FALSE est requis

Can you help me to fix this error please ? and in the next command should i change it also ?

PlotSourceContribution(SinkNames = rownames(FEAST_output)[c(5:8)],
                       SourceNames = colnames(FEAST_output), dir_path = "E:\\cc\\Desktop\\FEAST\\",
                       mixing_proportions = FEAST_output, Plot_title = "Test_",Same_sources_flag = 0, N = 4)

Thank you

@liashenhav
Copy link
Contributor

Do the sample ids in the metadata match the row names in the count matrix?
You are also welcome to share your data files (feature table and metadata) so I can have a look. My email is: [email protected]

Best,
Liat

@zina-R
Copy link
Author

zina-R commented Mar 24, 2022

Dear Liat,
i sent you my data by email. I didn't find from where is this mistake.
Thank you,
Zeina

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants