Question: Color Mutation Graph with Trackviewer
0
gravatar for j.lunger18
12 weeks ago by
j.lunger1810
j.lunger1810 wrote:

On the Trackviewer documentation: https://www.bioconductor.org/packages/release/bioc/vignettes/trackViewer/inst/doc/trackViewer.html#lolliplot They have a way of specifying colors of mutations along a gene using Lolliplot:

sample.gr$color <- sample.int(6, length(SNP), replace=TRUE)
lolliplotsample.gr, features)

I want to specify colors using a list of colors that I made to associate a specific color with the type of mutation. I don't understand how sample.int is specifying colors, or how to make it so that my colors are the ones being shown.

trackviewer lolliplot R • 105 views
ADD COMMENTlink modified 12 weeks ago • written 12 weeks ago by j.lunger1810
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1451 users visited in the last hour