selkamand / sigstash

Easily load published mutational signatures into R

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Test that annotation file includes 1 row for each signature in the matched collection

selkamand opened this issue · comments

Test that annotation file includes 1 row for each signature in the matched collection.

Maybe could build this into the sigshared::assert_signature_annotation() then add to the sig_load_annotations works unit tests

sig = sig_load(dataset)
expect_error(sigshared::assert_signature_annotations(sig_load_annotations(dataset), sig), NA)