Hi, I am trying to do peak enrichment analysis using csaw in R. I am trying to filter the IP samples (to remove regions that are not enriched about the input sample) and normalize for compositional bias. I am using version 1.22 of csaw and R version 3.6.1. I keep getting an unused argument error for the normalization argument.
This is my input:
filter.stat<- filterWindows(IP, input, type="control", prior.count=5, norm.fac=list(IP, input))
and the error message is: Error in filterWindows(IP, input, type = "control", prior.count = 5, norm.fac = list(IP, : unused argument (norm.fac = list(IP, input))
Can anyone let me know where I have gone wrong? Thanks.