Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow for custom sample_id and gene_name column names in the melt_gene_exprs_mat function #2

Open
tinyheero opened this issue Jan 25, 2018 · 0 comments
Assignees

Comments

@tinyheero
Copy link
Owner

tinyheero commented Jan 25, 2018

Description

The current melt_gene_exprs_mat automatically specifies the sample_id and gene_name columns following melting/transformation into a long form. We should allow for users to input a custom column name.

For example:

melt_gene_exprs_mat(
  exprs_mat, 
  melt_row_name = "melted_gene_name", 
  melt_col_name = "melted_sample_id",
  melt_value_name = "melted_sample_id"
) 

This could produce a data.frame with column names like:

melted_gene_name melted_sample_id melted_sample_id

Tests

An automated test should be added to ensure that the columns match up with what was used as input.

@tinyheero tinyheero self-assigned this Jan 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant