Entering edit mode
Dear all,
I am using Gviz and I am aiming to upload either a bigwig, wig or bedGraph file ; and I am getting the following error
Please would you advise if there is a way to fix it please. Thank you
*
dTrack2 <- DataTrack(range = bgFile, genome = "hg38", type = "l",
+ chromosome = "chr1", name = "bigwig")
Error in h(simpleError(msg, call)) :
error in evaluating the argument 'x' in selecting a method for function 'tolower': Unable to identify extension for file ''
*
what is the value of bgFile? It probably does not have an extension the DataTrack recognizes....