Skip to content

Add percent host covariate#30

Open
klterwelp wants to merge 7 commits intomainfrom
add_perc_host_covariate
Open

Add percent host covariate#30
klterwelp wants to merge 7 commits intomainfrom
add_perc_host_covariate

Conversation

@klterwelp
Copy link
Collaborator

This adds the %host covariate option to the run_mtxDE command. This allows the command to take in two additional variables: host_col and report.

host_col is the name of the column that contains the percent host information for each sample in the report data.frame.

The report data.frame should contain two columns: sampleID (same name as metadata) and host_col. The sampleID column will be used to merge the metadata with the report.

Then, if the formula doesn't contain host_col it will be added to the end of the formula (ie: formula + host_col)

Integration and two unit tests have been added to verify the function performs as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant