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

whichsignatures not working #73

Open
temizna opened this issue Feb 16, 2022 · 0 comments
Open

whichsignatures not working #73

temizna opened this issue Feb 16, 2022 · 0 comments

Comments

@temizna
Copy link

temizna commented Feb 16, 2022

mut.sigs.tcga.breast<-whichSignatures(tumor.ref=contexts.tcga.breast,sample.id=rownames(contexts.tcga.breast),signatures.ref = signatures.nature2013,signature.cutError in signatures[, zero.contexts] : subscript out of bounds
In addition: Warning messages:
1: In if (!sample.id %in% rownames(tumor)) { :
the condition has length > 1 and only the first element will be used
2: In if (round(rowSums(tumor), digits = 1) != 1) { :
the condition has length > 1 and only the first element will be used

traceback()
2: which(signatures[, zero.contexts] >= 0.2, arr.ind = T)
1: whichSignatures(tumor.ref = contexts.tcga.breast, sample.id = rownames(contexts.tcga.breast),
signatures.ref = signatures.nature2013, signature.cutoff = 0.05)
I have also seen errors in your get_error function with negative error

R.3.6.3

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