I tested the function with this chunk of code:
#' library(TxDb.Hsapiens.UCSC.hg38.knownGene)
#' txdb <- TxDb.Hsapiens.UCSC.hg38.knownGene
#' prepareAnnotations(txdb)
It throws error message as:
'select()' returned many:many mapping between keys and columns
Error in .rowNamesDF<-(x, value = value) :
duplicate 'row.names' are not allowed
In addition: Warning messages:
1: In .set_group_names(ans, use.names, x, "tx") :
some group names are NAs or duplicated
2: In .set_group_names(grl, use.names, txdb, by) :
some group names are NAs or duplicated
Error in .rowNamesDF<-(x, value = value) :
duplicate 'row.names' are not allowed
I tested the function with this chunk of code:
#' library(TxDb.Hsapiens.UCSC.hg38.knownGene)
#' txdb <- TxDb.Hsapiens.UCSC.hg38.knownGene
#' prepareAnnotations(txdb)
It throws error message as:
'select()' returned many:many mapping between keys and columns
Error in
.rowNamesDF<-(x, value = value) :duplicate 'row.names' are not allowed
In addition: Warning messages:
1: In .set_group_names(ans, use.names, x, "tx") :
some group names are NAs or duplicated
2: In .set_group_names(grl, use.names, txdb, by) :
some group names are NAs or duplicated
Error in
.rowNamesDF<-(x, value = value) :duplicate 'row.names' are not allowed