Sushi example data not correct?
1
0
Entering edit mode
Till ▴ 30
@till-9696
Last seen 16 months ago
Germany

Hi!

I'm trying to replicate the example given in the plotBed example in the Suhi vignette, the one using the circles. However the Sushi_ChIPSeq_severalfactors.bed example dataset does not include a "color" column in the current version. Is this a bug?

Cheers

Sushi • 1.1k views
ADD COMMENT
0
Entering edit mode
dphansti ▴ 10
@dphansti-8015
Last seen 8.7 years ago
United States

That is correct.  There is not a color column.  You need to assign a color.  Check out the example by executing "?plotBed"

The fourth line in the example assigns the color.

Sushi_ChIPSeq_severalfactors.bed$color = heat.colors(max(Sushi_ChIPSeq_severalfactors.bed$row))[Sushi_ChIPSeq_severalfactors.bed$row]

Thanks so much.  Please tell me if this does or does not answer your question.

Cheers,

Doug

 

ADD COMMENT

Login before adding your answer.

Traffic: 480 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6