Skip to content

Instantly share code, notes, and snippets.

@cgpu
Last active January 3, 2019 13:23
Show Gist options
  • Save cgpu/9f89e65f2216e71dc5bee5e53c59ae1b to your computer and use it in GitHub Desktop.
Save cgpu/9f89e65f2216e71dc5bee5e53c59ae1b to your computer and use it in GitHub Desktop.
Initialize dataframe with NA
# Dataframe with the aliquot IDs of the cohort's samples, 96 x 4
aliquot_ID <- data.frame(matrix(NA, nrow = length(ofsthelse), ncol = length(LCMS_id)))
colnames(aliquot_ID) <- LCMS_id
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment