format_df: format file

Description Usage Arguments Examples

View source: R/format.R

Description

format file

Usage

1
format_df(maf_path, csv_path, maf_index, csv_index, dir_name, cancer_cn)

Arguments

maf_path

maf files

csv_path

csv files

maf_index

columns need to read in maf

csv_index

columns need to read in csv

dir_name

where palace the file

cancer_cn

the Chinese cancer name

Examples

1
2
3
4
5
6
7
8
## Not run: 
csv <- c("data/41419_2020_2531_MOESM10_ESM.csv")
maf <- c("data/41419_2020_2531_MOESM11_ESM.csv")
maf_index <- c(10, 11, 13, 14, 4, 6, 1)
csv_index <- c(1, 4, 2, 3, 5)
format_df(maf, csv, maf_index, csv_index, "new", "胃癌")

## End(Not run)

zhchenyang/tcga documentation built on Dec. 23, 2021, 9:18 p.m.