Mercurial > repos > greg > ideas_genome_tracks
diff ideas_genome_tracks.R @ 64:875dc1e164fc draft
Uploaded
| author | greg |
|---|---|
| date | Tue, 19 Dec 2017 12:51:31 -0500 |
| parents | ff5bd57b1fdd |
| children | 794d2104f83d |
line wrap: on
line diff
--- a/ideas_genome_tracks.R Tue Dec 19 12:46:16 2017 -0500 +++ b/ideas_genome_tracks.R Tue Dec 19 12:51:31 2017 -0500 @@ -125,7 +125,7 @@ } track_db = NULL; for (i in 1:length(cells)) { - if (is.null(state_indexes) || !is.element(i, indexes)) { + if (is.null(state_indexes) || !is.element(i, s_indexes)) { # Generate a random number between 1 and 1024 as # the viridis_vector index for the next state color. color_index <- sample(1:1024, 1);
