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 totalsource_2[(j + 1), ] <- t(unknown_source_rarefy) #46

Open
awsdd opened this issue Jan 2, 2023 · 5 comments
Open

Error in totalsource_2[(j + 1), ] <- t(unknown_source_rarefy) #46

awsdd opened this issue Jan 2, 2023 · 5 comments

Comments

@awsdd
Copy link

awsdd commented Jan 2, 2023

Hello,

I have four sets of data that are derived from the same overall dataset. All four have identical metadata set up. Upon running the FEAST function I get the following error:

Error in totalsource_2[(j + 1), ] <- t(unknown_source_rarefy) :
number of items to replace is not a multiple of replacement length

This only occurs for three of the four sets of data; the other runs successfully.
I'm using the different_sources_flag = 1 argument; out of curiosity I changed this to 0 and FEAST then ran successfully (although obviously the analysis/results is then not correct for my data set up).

Do you have any suggestions as to why this error is occurring?
Many thanks

@liashenhav
Copy link
Contributor

liashenhav commented Jan 2, 2023

You may have NAs in you datasets... You can share your code and data and I'll try to replicate it.
[email protected].

Best,
Liat

@awsdd
Copy link
Author

awsdd commented Jan 3, 2023

Thank you very much. I have sent an email with the code and data files. I can't find any NAs in them so it will be interesting to see if the issue replicates at your end.

@atancred
Copy link

Hi, i'm experiencing the same issue and i was wondering if you were able to find a solution.
I have no NA in my datasets.

Best,
Alessandra

@liashenhav
Copy link
Contributor

Issue fixed in the source code. Please download the latest version of FEAST and try again.

Thanks,
Liat

@awsdd
Copy link
Author

awsdd commented Jan 10, 2023

Thanks Liat, this seems to have solved the problem. Appreciate the fix.

Phoebe

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

3 participants