Learn R Programming

geneNR (version 2.0.1)

geneQTL: Identifies Candidate Genes based on identified Quantitative Trati Loci (QTL) analysis

Description

Identifies Candidate Genes based on identified Quantitative Trati Loci (QTL) analysis

Usage

geneQTL(data_file, crop = "wheat")

Value

A data frame containing traits, QTL, gene_id, gene_size, and gene_type.

Arguments

data_file

The input data in .csv format. (sample_data_wheat_qtl or sample_data_rice_qtl for demo purpose)

crop

Either "wheat" or "rice". (by default it will be wheat)

Examples

Run this code
load(system.file("extdata", "precomputed_sample_results_qtl.rda", package = "geneNR"))
message(sample_results)
# \donttest{
result <- geneQTL("sample_data_wheat_qtl", crop="wheat")
result <- geneQTL("sample_data_rice_qtl", crop="rice")
#result <- geneQTL("your_results.csv", crop="wheat")
# }

Run the code above in your browser using DataLab