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

load_dam duplicating reads? #16

Open
brelwill opened this issue Nov 7, 2018 · 2 comments
Open

load_dam duplicating reads? #16

brelwill opened this issue Nov 7, 2018 · 2 comments

Comments

@brelwill
Copy link

brelwill commented Nov 7, 2018

Using load_dam, one monitor file is loading with NAs and duplicate reads for a given timepoint, see attached files for examples. Nothing obviously wrong in the .txt file when viewing in notepad, excel, or reading into R with fread. Any ideas where this would be coming from?

monitorfile_sample.txt

load_error_sample.txt

Metadata

library(damr)
metadata <- fread("metadata_MASTER.csv")
metadata

Linking

metadata <- link_dam_metadata(metadata, result_dir = DATA_DIR)
metadata

Loading for Sleepr- LD

library(sleepr)
LD_dt <- load_dam(metadata[LD_or_DD == "LD" & status == "OK"], FUN = sleepr::sleep_dam_annotation)
@qgeissmann
Copy link
Contributor

thanks for reporting the issue! Any chance you can provide your metadata file, so I can reproduce it?

@brelwill
Copy link
Author

brelwill commented Nov 7, 2018

I included a larger chunk of the monitor file to include the beginning. Let me know what you find out!

Monitor33a_truncated.txt
metadata_sample.xlsx

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