if (FALSE) {
# outdir is here the output directory from the fluidigm2PLINK function
# Estimate the errors with sexing applied
estimateErrors(file=file.path(outdir, "example_data.csv.ped"),
keep.rep = 2)
# Estimate the errors and apply sexing with y and x markers defined
estimateErrors(file=file.path(outdir, "example_data.csv.ped"),
keep.rep = 2,
sexing=TRUE,
y.marker = c("Y_scaffoldY158711_762",
"Y_scaffoldY42647_3017",
"Y_scaffoldY42656_3986"),
x.marker = c("X_scaffold11905_7659",
"X_scaffold17088_4621",
"X_scaffold1915_14108",
"X_scaffold4825_648",
"X_scaffold5374_1437",
"X_scaffold10171:3154"))
}
Run the code above in your browser using DataLab