Create database and ggplot graphic of allele reads depths
create_depths_profile( onemap.obj = NULL, vcfR.object = NULL, vcf = NULL, parent1 = NULL, parent2 = NULL, vcf.par = "AD", recovering = FALSE, mks = NULL, inds = NULL, GTfrom = "onemap", alpha = 1, rds.file = "data.rds", y_lim = NULL, x_lim = NULL, verbose = TRUE )
onemap.obj
: an object of class onemap
.vcfR.object
: object of class vcfR;vcf
: path to VCF file.parent1
: a character specifying the first parent IDparent2
: a character specifying the second parent IDvcf.par
: the vcf parameter that store the allele depth information.recovering
: logical. If TRUE, all markers in vcf are consider, if FALSE only those in onemap.objmks
: a vector of characters specifying the markers names to be considered or NULL to consider all markersinds
: a vector of characters specifying the individual names to be considered or NULL to consider all individualsGTfrom
: the graphic should contain the genotypes from onemap.obj or from the vcf? Specify using "onemap", "vcf" or "prob".alpha
: define the transparency of the dots in the graphicrds.file
: rds file name to store the data frame with values used to build the graphicy_lim
: set scale limit for y axisx_lim
: set scale limit for x axisverbose
: If TRUE
, print tracing information.an rds file and a ggplot graphic.
onemap_read_vcfR
Cristiane Taniguti, chtaniguti@tamu.edu
Useful links