read_data | R Documentation |
read_data uses reads the mutation file it deletes some row(s) of the mutation data whose rowsum is zero, rownames of the remaining rows are considered possibale genes
read_data(mutation_file)
mutation_file |
the text that contains the mutation data, a gene*sample matrix with rownames being gene names and column names being sample IDs |
Mutation, the mutation data, rows represent genes and columns represent samples
###read_data() reads and processes the mutation data ###it deletes some row(s) of the mutation data whose rowsum is zero, ###rownames of the remaining rows are considered possibale genes library(DriverRWH) ###place the mutation file in the current working directory and name it "mutation_file" ###to run the example code, please uncomment them #my_file_dir=getwd() #mutation_file=paste0(my_file_dir,"/mutation_file.txt") #Mutation=read_data(mutation_file=mutation_file) ###the mutation data #print(Mutation)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.