inst/shiny-examples/app-pcadapt/server/tab-rcommand.R

output$rcommand <- renderText({
  inFile <- input$file1
  if (is.null(inFile)){
    return(NULL)
  }
  paste0("object.pcadapt <- pcadapt(x = '", input$file1$name,
         "', K = ", input$K, ", ploidy = ", input$ploidy,
         ", min.maf = ", input$min.maf, ")")
})

Try the pcadapt package in your browser

Any scripts or data that you put into this service are public.

pcadapt documentation built on Aug. 29, 2023, 5:07 p.m.