Question: please screenshot the answer from the Rstudio program. Thank you. 5) The below table shows the results of RNA-Seg on cancer samples being treated with
5) The below table shows the results of RNA-Seg on cancer samples being treated with three different types of treatment (A, B, and P). You have a total of 12 samples with four replicates per treatment: Sex Stage Treatment Myc Sample1 M 1 2343 Sample2 A 457 Sample3 11 A 4593 sampled A 9035 samples 11 B 3450 samples 1 B 3524 Sample 1 958 Samples HI B 1053 Sample9 8674 sample 10 3424 sample 11 463 sample12 5105 3333333 Transfer this table to excel and create a.xlsx file in your working directory From the program, import and read the created excel file with any command you think better suite your needs and then save it in a data frame with the name "RNA_Seq_Results - Using the RNA_Seq_Results data frame, write out the code to perform the following operations: Define another data frame with the name "M_Data" that only includes the data in columns two to four of RNA_Seq_Results data frame b. Use if and for commands only to extract all data in the M_Data data frame for those samples receiving treatment P c. Remove the treatment column from the RNA_Seq_Results data frame (hintuse d. Add a column called pre_treatment to the beginning of the RNA_Seq_results with the values T. F,F.F.T.T.F.T.F.F.T.T. (Hint: use cbind) e. Use if and for commands only to calculate the minimum, maximum, and mean of the numbers in the "Mye column. DO NOT use ready functions such as mint), maxill. meant 1. We want to write a program that can provide us with information about the Stage Currently, our study only includes 12 samples, and it is easy to look at column 3 lie, stage column) to obtain the total number of samples that are in Stage 1 (4) or Stage II (8). You agree that if the size of this table increases to include 100000000 cases instead of 12, then it is not as easy to do this task manually. Write an script to extract the total number of samples in Stage 1 or IL
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
