Skip to content

main calls call gff3 file to generate images  #2

@molikd

Description

@molikd

dependent on #1

the main call will have to generate our images based on a gff3 file, ideally rendered at tab load.

think about it like this, when building the app questions will be called three times:

questions1 <- taipanQuestions()
questions2 <- taipanQuestions()
questions3 <- taipanQuestions()

for each function that we need to annotate

and then buildTaipan will have to be called as well:

buildTaipan(
  questions = c(questions1, questions2, questions3),
  images = c("https://raw.githubusercontent.com/srkobakian/taipan/master/sample_images/hotdog.jpg",
             "https://raw.githubusercontent.com/srkobakian/taipan/master/sample_images/not_hotdog.jpg"),
  appdir = file.path(tempdir(), "taipan"), overwrite = TRUE
)

we can prebuild the images or we could update it so that each "image" is a line in a gff3 file, which probably makes more sense. This means that under " # CONSTRUCT IMAGE DIR" we will have to rewrite to accommodate a gff3 row instead, just make it a text file I guess.

The tabs should generate the corresponding image for that activity (this will be done in server.R and app.R)

a bit hacky, but the quickest way to a working prototype.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions