Adds missing data to objects of class autoMarker or autoCross
Adds missing data to objects of class autoMarker or autoCross
Adds missing data to objects of class simAutoMarkers or simAutoCross as specified either as a proportion of missing at random or a proportion of columns and rows with specified proportions of missings.
x: object of class simAutoMarkers or simAutoCross, or a matrix with dominant markers scored as 0 or 1
na.proportion: proportion missing at random or a list with two components indiv and marker each containing c(prop. markers missing, prop. missing) (Default: 0)
parent.cols: columns containing parental markers (etc) not altered only used if object of class simAutoCross
seed: random number generator (RNG) state for random number which will be set at start to reproduce results
Returns
Returns object of class simAutoMarkers or simAutoCross, or a matrix with dominant markers scored as 0 or 1 with extra component na.proportion which has the following elements - na.proportion: proportion missing at random or a list with two components indiv and marker each containing c(prop. markers missing, prop. missing)
time.generated: time/date when data set generated + when missing added
seed: random number generator seed which could be used to reproduce results (I hope)