##Using Breast Cancer NKI database, if available, to create a PAM50 class.
if(requireNamespace("breastCancerNKI")){
object<-loadBCDataset(Class=PAM50, libname="nki", verbose=TRUE)
object
##Now we can inspect the object
head(exprs(object)) ##The gene expression
head(annotation(object)) ##The available annotation
head(targets(object)) ##The clinical data present in the package
}
Run the code above in your browser using DataLab