Hello.
I want to extract mutational signatures from a dataset, however, I am facing some problems regarding the 'trinucleotideMatrix' function. I already tried to indicate in ref_genome as 'BSgenome.Hsapiens.UCSC.hg19' and had the same error return. Do you have any idea how can I fix this?
x <- trinucleotideMatrix(maf = maf_filtered,
ref_genome = NULL,
prefix = NULL,
add = TRUE,
ignoreChr = NULL,
useSyn = TRUE,
fn = NULL)
-Found following BSgenome installtions. Using first entry
pkgname organism provider genome masked
1: BSgenome.Hsapiens.UCSC.hg19 Hsapiens UCSC hg19 FALSE
-Extracting 5' and 3' adjacent bases
Error in .Call2("C_solve_user_SEW", refwidths, start, end, width, translate.negative.coord, :
solving row 514: 'allow.nonnarrowing' is FALSE and the supplied start (81597297) is > refwidth + 1
Hello. I want to extract mutational signatures from a dataset, however, I am facing some problems regarding the 'trinucleotideMatrix' function. I already tried to indicate in ref_genome as 'BSgenome.Hsapiens.UCSC.hg19' and had the same error return. Do you have any idea how can I fix this?
Session info