Question: Problem 3 , Part ( i ) Download the dataset MorderGE.RData and then load it into your RStudio workspace. It contains a data frame Morder
Problem Part i
Download the dataset MorderGE.RData and then load it into your RStudio workspace. It contains a data frame Morder and a factor type. The data frame Morder contains gene expression measurements for genes from the T cells of types naive effector, memory of patients Holmes et al Each column represents a gene. Each row represents a sample of T cells; there are samples since patientstypes Run the following code to perform the kmeans clustering of the samples. The output is attached you should be able to see exactly the same output, but be sure not to run kmeans multiple times##type##effectormemorynaive#####
According to the above contingency table, how many samples are in the first cluster of the kmeans output?
points
Problem Part ii
The type vector contains the true T cell type of each sample. We expect that the three clusters obtained from kmeans should match the three cell types. According to the above contigency table, how many samples are wrongly clustered?
None of the above
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
