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 running impute_met_files #9

Open
founder-yang opened this issue Nov 23, 2022 · 1 comment
Open

Error running impute_met_files #9

founder-yang opened this issue Nov 23, 2022 · 1 comment

Comments

@founder-yang
Copy link

Hello,

I'm having some problems running impute_met_files. I put impute met file in impute_met_dir, it just shows "Creating methylation regions...Error in if (!is.na(x)) { : the condition has length > 1", that is, in the execution to .impute_files_internal "met_region <- lapply(X = met_region, FUN = function (x) { if (!is.na(x)){" An error is reported here, my impute met file format is "chr1 13667 1\nchr1 13693 -1 ...".Can you help me out with this issue?

thanks
Ayush

@founder-yang
Copy link
Author

image

image

changed to is.null():

image

image

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

1 participant