powered by
If an experiment was carried out with some samples and you want to continue with some other samples later on.
follow_up( original, follow_up, size_subset, omit = NULL, old_new = "batch", iterations = 500 )
A data.frame with the common columns of data, a new column old_new, and a batch column filled with the new batches needed.
data.frame
old_new
A data.frame with the information of the samples used originally.
A data.frame with the information of the new samples.
Numeric value of the number of sample per batch.
Name of the columns of the pheno that will be omitted.
pheno
Name of the column where the batch status will be stored. If it matches the name of a column in original it will be used to find previous batches.
Numeric value of iterations that will be performed.
follow_up2()
data(survey, package = "MASS") survey1 <- survey[1:118, ] survey2 <- survey[119:nrow(survey), ] folu <- follow_up(survey1, survey2, size_subset = 50, iterations = 10)
Run the code above in your browser using DataLab