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

Error in sprintf("Error: there are %d sample ids in common ") : too few arguments #27

Open
develynw opened this issue Jun 7, 2021 · 8 comments

Comments

@develynw
Copy link

develynw commented Jun 7, 2021

I have been using FEAST on a microbiome analysis, but recently have come across the following error despite previously successful runs:
image

I went through my code and input files, but don't see anything outstanding (screenshots below). I am stumped.
Does anyone have insight on what could be causing this error?

@AkilaMuthalagu
Copy link

HI Develynw

I am stuck with the same issue. Did you get any solution for your issue, if yes can you please let me know

@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

@anniewest
Copy link

Hello, I have also had the same problem and was wondering if there had been an solution? My SampleIDs in the metadata and rownames in the count table are identical. Thanks

@704913307
Copy link

Hello, Which package does the "feast" function originate from?
how to load this package? Thanks

@celiadl
Copy link

celiadl commented Aug 1, 2022

Hello! I am facing the same problem. Is there any solution for it?

@liashenhav
Copy link
Contributor

Dear Celia,

This error means that the out table (denoted ‘C = out_test’ in the FEST function) and your metadata (‘metadata_test’) don’t have shared sample ids. Please check your files and re-run.

I hope this helps.

Best,
Liat

@gauguinP
Copy link

gauguinP commented Sep 5, 2022

I try it twice. Focusing on C= otus.
image
image
image
the former is true while the latter face the same error.
But it doesn't obey the input format that shown in the website.

@stenoell
Copy link

stenoell commented May 8, 2023

For anyone else facing this issue, I discovered that the documentation on the Github page doesn't match the R FEAST function; notably, the R help docs state: "The rownames of both C and the metadata table are the unique sample ids," while the Github documentation shows the sample ids as the column names for the counts table and implies that the sample ids should be a separate column in the metadata table. Once I changed the counts table and metadata so that the rownames in both were the sample ids, it functioned correctly.

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

8 participants