extract_assay {OMICsPCA} | R Documentation |
Extraction of individuals according to user supplied group and Assay
extract_assay(name, Assay, groups, groupinfo = NULL, addgroupnames = TRUE)
name |
name of the "OMICs" object from which data is to be retrieved. |
Assay |
name of the "Assay" from which data is to be retrieved. |
groups |
name of the "groups" from which data is to be retrieved. |
groupinfo |
output of create_group() or similar object |
addgroupnames |
logical argument. If "TRUE", adds the group membership info of returned individuals |
a data frame containing the intended information
Subhadeep Das
x <- extract_assay(name = multi_assay, Assay = "H2az", groups = c("WE","RE"), groupinfo = groupinfo_ext) x