You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I seem to be having some issues running XGR's liftover function, which now returns some errors related to "Chain". Is there something else I need to install?
Example
## Construct example data
library(echolocatoR)
build.conversion="hg19.to.hg38"chrom_col="CHR"start_col="POS"end_col="POS"chr_format="NCBI"dat<-echolocatoR::CORCES_2020.scATACseq_celltype_peaksdat[,paste0("POS.",strsplit(build.conversion, "\\.")[[1]][1])] <-dat[[start_col]]
gr.dat<-GenomicRanges::makeGRangesFromDataFrame(df=dat,
keep.extra.columns=T,
seqnames.field="chrom",
start.field=start_col,
end.field=end_col)
## Liftovergr.lifted<-XGR::xLiftOver(data.file=gr.dat,
format.file="GRanges",
build.conversion="hg38.to.hg19",
verbose=F ,
merged=F) # merge must =F in order to work
Error in as(chain, "Chain") :
no method or default for coercing "NULL" to "Chain"
packageVersion("XGR")
[1] '1.1.7'
I tried installing the BioConductor version, but it looks like it's not available for the last couple versions of R (currently up to v4.0.3):
BiocManager::install("XGR")
package 'XGR' is not available (for R version 3.6.3)
Hi @hfang-bristol , just wondering if there's been any headway with this. XGR was one of the dependencies for my R package echolocatoR but I've had to remove it due to these issues, especially those pertaining to installation 😢 . I'd really like to add it back in because I think it offers a lot!
Hi there,
I seem to be having some issues running XGR's liftover function, which now returns some errors related to "Chain". Is there something else I need to install?
Example
packageVersion("XGR")
I tried installing the BioConductor version, but it looks like it's not available for the last couple versions of R (currently up to v4.0.3):
package 'XGR' is not available (for R version 3.6.3)
Thanks for your help!
Session Info
The text was updated successfully, but these errors were encountered: