Create "bootstrapped" versions of mloci.out and share.out for multic
expand.multic is a utility function to create "bootstrap"ed versions of mloci.out and share.out
famids is a character or integer vector that specifies the family
order in a "bootstrapped" fashon. Each index of famids is the famid
(family identifier) from the original dataset not the index of the
family. An example famids argument would be
a character value specifying the name of an mloci.out file. This file needs to have the famid portion (i.e., the characters before the hyphen [-]) of the unique id for each entry.
a character value specifying the name of an share.out file. This file needs to have the famid portion (i.e., the characters before the hyphen [-]) of the unique id for each entry.
a list of two elements. The first is the name of the new mloci.out
file. The second element is the name of the new share.out. Either
element may be
NULL if the respective
the output files are created in the current directory. If either of the input files (mloci.out or share.out) were gzip'ed, expand.multic will gunzip them. Currently, this is done in their own directory. However, in the future, this can be done in a temporary. Also, a directory named "loci" is temporarily craeted to hold split mloci.out file.
1 2 3 4 5 6 7 8
## Not run: famids <- sample(famid, length(unique(famid)), replace = TRUE) new.files <- expand.multic(famids, "input/mloci.out", "input/share.out") mult.obj <- multic( -- your formula, data, famid, etc. here -- mloci.out = new.files$new.mloci.out, share.out = new.files$new.share.out) ## End(Not run)
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.