powered by
generateRandomSequences returns a list with indices for train and test sets.
generateRandomSequences
generateRandomSequences(n = 2, meanLen = 10, sdLen = 0, seed = NULL, ncores = NULL, prob = rep(0.25, 4))
- int, number of sequences to generate.
- float, mean of the length distribution (gaussian) of the generated sequences.
- float, sd of the length distribution (gaussian) of the generated sequences.
- int, when the same seed and parameters are used, exact same sequences are generated.
- int, number of cores to use.
- vector of length 4 with the probability for the 4 nucleotides (A, C, G, T).
# NOT RUN { generateRandomSequences(n = 2, meanLen = 20, sdLen = 2) generateRandomSequences(n = 4, meanLen = 5, sdLen = 0) # }
Run the code above in your browser using DataLab