Closed spereyra closed 5 years ago
HI Silvana,
Thank you for reporting the error. Could you please send me the minimized files and codes to repeat your error? Thanks.
Jianhong.
On Thu, Oct 18, 2018 at 10:49 AM Silvana Pereyra notifications@github.com wrote:
Hey there, I am trying to make a lolliplot from data from a vcf file. Everything works nicely when following the example from 4.13 in the vignette, but not on my own data. When running the lolliplot command, it returns this error message:
lolliplot(mutation.frequency, features, ranges=elocsVCFgr[3]) Error in combine_CompressedList_objects(class(x), objects, use.names = FALSE, : the objects to combine must be CompressedList objects (or NULLs)
Can you help me figure out what does this error means? A google search yielded no insight on this... Thank you.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jianhong/trackViewer/issues/2, or mute the thread https://github.com/notifications/unsubscribe-auth/AFYSA0a6eSQWJMspIIPoRZvrH0XMfqDfks5umJTrgaJpZM4XtnMO .
-- Yours sincerely, Jianhong Ou
Sorry for the delay and thank you for your reply. Here is my code and my minimized vcf. vcf_elocsVCF_s.vcf.gz
vcf_elocsVCF_s <- readVcf("vcf_elocsVCF_s.vcf")
elocsVCFgr <- GRanges("4", IRanges(164445450, 165305202, names="MARCH1"))
mutation.frequency <- rowRanges(vcf_elocsVCF_s)
mcols(mutation.frequency) <- cbind(mcols(mutation.frequency),
VariantAnnotation::info(vcf_elocsVCF_s))
## plot Global Allele Frequency based on AC/AN
mutation.frequency$score <- mutation.frequency$AF*100
seqlevelsStyle(elocsVCFgr) <- seqlevelsStyle(mutation.frequency) <- "UCSC"
trs <- geneModelFromTxdb(TxDb.Hsapiens.UCSC.hg19.knownGene,
org.Hs.eg.db,
gr=elocsVCFgr)
features <- c(range(trs[[1]]$dat), range(trs[[3]]$dat))
names(features) <- c(trs[[1]]$name, trs[[3]]$name)
features$fill <- c("lightblue", "mistyrose")
features$height <- c(.02, .04)
lolliplot(mutation.frequency, features, ranges=elocsVCFgr)
this bug should be fix in newest development version.
On Mon, Oct 29, 2018 at 2:50 PM Silvana Pereyra notifications@github.com wrote:
Sorry for the delay and thank you for your reply. Here is my code and my minimized vcf. vcf_elocsVCF_s.vcf.gz https://github.com/jianhong/trackViewer/files/2526636/vcf_elocsVCF_s.vcf.gz
vcf_elocsVCF_s <- readVcf("vcf_elocsVCF_s.vcf") elocsVCFgr <- GRanges("4", IRanges(164445450, 165305202, names="MARCH1"))
mutation.frequency <- rowRanges(vcf_elocsVCF_s) mcols(mutation.frequency) <- cbind(mcols(mutation.frequency), VariantAnnotation::info(vcf_elocsVCF_s))
plot Global Allele Frequency based on AC/AN
mutation.frequency$score <- mutation.frequency$AF*100 seqlevelsStyle(elocsVCFgr) <- seqlevelsStyle(mutation.frequency) <- "UCSC" trs <- geneModelFromTxdb(TxDb.Hsapiens.UCSC.hg19.knownGene, org.Hs.eg.db, gr=elocsVCFgr) features <- c(range(trs[[1]]$dat), range(trs[[3]]$dat)) names(features) <- c(trs[[1]]$name, trs[[3]]$name) features$fill <- c("lightblue", "mistyrose") features$height <- c(.02, .04) lolliplot(mutation.frequency, features, ranges=elocsVCFgr)
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jianhong/trackViewer/issues/2#issuecomment-434033522, or mute the thread https://github.com/notifications/unsubscribe-auth/AFYSA8kvY04iL0jonSm5Hgf7SZKucuXnks5up04EgaJpZM4XtnMO .
-- Yours sincerely, Jianhong Ou
That's great! Thank you!
Hey there, I am trying to make a lolliplot from data from a vcf file. Everything works nicely when following the example from 4.13 in the vignette, but not on my own data. When running the lolliplot command, it returns this error message:
Can you help me figure out what does this error means? A google search yielded no insight on this... Thank you.