View source: R/find_genes_qtls_around_markers.R
find_genes_qtls_around_markers | R Documentation |
Takes a list of candidate markers and or regions (haplotypes, CNVs, windows, etc.) and search for genes or QTLs in a determined interval
find_genes_qtls_around_markers(
db_file,
marker_file,
method = c("gene", "qtl"),
marker = c("snp", "haplotype"),
interval = 0,
nThreads = NULL,
verbose = TRUE
)
db_file |
The data frame obtained using the import_gff_gtf() function |
marker_file |
The file with the SNP or haplotype positions. Detail: For SNP files, the columns “CHR” and “BP” with the chromosome and base pair position, respectively, are mandatory. For the haplotype, the following columns are mandatory: “CHR”, “BP1” and “BP2” |
method |
“gene” or “qtl” |
marker |
"snp" or "haplotype" |
interval |
The interval in base pair which can be included upstream and downstream from the markers or haplotype coordinates. |
nThreads |
Number of threads to be used |
verbose |
Logical value defining if messages should of not be printed during the analysis (default=TRUE) |
A dataframe with the genes or QTLs mapped within the specified intervals
data(QTLmarkers)
data(gffQTLs)
out.qtls<-find_genes_qtls_around_markers(db_file=gffQTLs, marker_file=QTLmarkers,
method = "qtl", marker = "snp",
interval = 500000, nThreads = 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.