clean_scan1 | R Documentation |
Clean scan1 output by replacing negative values with NA and remove rows where all values are NA.
clean_scan1(object, ...)
## S3 method for class 'scan1'
clean(object, ...)
object |
Output of |
... |
Ignored at present |
The input object with negative values replaced with NAs and then rows with all NAs removed.
iron <- read_cross2(system.file("extdata", "iron.zip", package="qtl2"))
pr <- calc_genoprob(iron)
out <- scan1(pr, iron$pheno)
out <- clean(out)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.