powered by
Clean scan1 output by replacing negative values with NA and remove rows where all values are NA.
clean_scan1(object, ...)# S3 method for scan1 clean(object, ...)
# S3 method for scan1 clean(object, ...)
The input object with negative values replaced with NAs and then rows with all NAs removed.
Output of scan1().
scan1()
Ignored at present
iron <- read_cross2(system.file("extdata", "iron.zip", package="qtl2")) iron <- iron[,"2"] pr <- calc_genoprob(iron) out <- scan1(pr, iron$pheno) out <- clean(out)
Run the code above in your browser using DataLab