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

C-scan error #322

Open
ianikim opened this issue Mar 20, 2023 · 2 comments
Open

C-scan error #322

ianikim opened this issue Mar 20, 2023 · 2 comments

Comments

@ianikim
Copy link

ianikim commented Mar 20, 2023

Hi, thanks a lot for the wonderful software!
I used C-scan to find E-P contests,but I encountered an error :Error in if (n > 0) c(NA_integer_, -n) else integer() : missing value where TRUE/FALSE needed
The lines :anch <- anchors_CSCAn(WT_10kb_hic$IDX, attr(WT_10kb_hic, "resolution"), bedlist = list(bed,bed)) cscan <- CSCAn(list(WT_10kb_hic), anchors = anch)
Could you help me with this? Thank you very much!
ianikim

@teunbrand
Copy link
Collaborator

Hi there,
I don't have enough information to reproduce the error, so I don't know how to fix it.
However, from glancing at your code, it seems like you're using the same bed data.frame twice in bedlist = list(bed,bed). This seems more appropriate for PESCAn instead of CSCAn.

@ianikim
Copy link
Author

ianikim commented Mar 24, 2023

Hi, thanks a lot!
One bed isTSS.bed,another is H3K4me1.bed
ianikim

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