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

Changing method to detect null data frames #23

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

AMCalejandro
Copy link

@AMCalejandro AMCalejandro commented Mar 5, 2022

is.null method does not work to check empty data tibbles

result_list = result_list[!unlist(purrr::map(result_list, is.null))]

$BLUEPRINT_monocyte
A tibble: 0 x 20
… with 20 variables: molecular_trait_id , chromosome ,
position , ref , alt , variant , ma_samples ,
maf , pvalue , beta , se , type , ac ,
an , r2 , molecular_trait_object_id , gene_id ,
median_tpm , id , row_count
is.null(result_list$BLUEPRINT_monocyte)
[1] FALSE

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

Successfully merging this pull request may close these issues.

1 participant