Learn R Programming

permRand (version 1.0.0)

Permutation Randomization

Description

Provides randomization using permutation for applications. To provide a Quality Control (QC) check, QC samples can be randomized within strata. A second function allows for the ability to ”switch” samples to meet set requirements and perform a certain amount of minimization on these switches. The functions are flexible for users by specifying strata size and number of QC samples per strata. The randomization meets the following requirements • QC sample requirements: QC samples not adjacent, QC samples from same mother must follow certain patterns. • Matched sample sets must be within a single strata, and next to each other.

Copy Link

Version

Install

install.packages('permRand')

Monthly Downloads

132

Version

1.0.0

License

GPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

Michelle Mellers

Last Published

September 3rd, 2025

Functions in permRand (1.0.0)

uniqueID

Unique IDs
testRand

Test Dataset
allRand

Data Randomization
formatRand

Formats data
orderCases

Number of single group in sequence.
motherQC

A dataset containing locations of the mother QC samples.
permRand-package

permRand: Permutation Randomization
batchCount

Tests the number in each batch.
outputLab

Output labels.
countQC

Number of QC in each batch.
QCMaster

A dataset containing QC sample IDs and packing location.
emptyQC

A dataset containing locations of empty QC samples.
testPair

Ensures complete sets.
serumMaster3

A dataset containing information for QC and serum samples.
randTest

QC Identifiers
switchR

Switching Generating Function
serumLoc

A dataset containing the a packing list with serum samples.
serumSwitchP

A dataset containing switched and randomized QC and serum samples with packing locations.
serumRand

A dataset containing randomized QC and serum samples.
serumSwitch

A dataset containing switched and randomized QC and serum samples.
testCCAcross

Sample groups within batches
serumIDs

A dataset containing serum sample IDs linked with studyIDs.
testQCmatch

Tests QC matches
testR

A dataset containing the example non-randomized serum sample file.