-
Notifications
You must be signed in to change notification settings - Fork 2
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
functions to get binary matrix for geno + pheno data #11
Comments
added option 'keep_assay_values' (default F) if set to TRUE, the mic and disk columns for the specified antibiotic will be included in the output matrix
|
Added parameter Could be scenarios where this is actually all you want for pheno data, and don't want binary phenotype output (or don't have appropriate columns to calculate it) so should make it possible to output ONLY assay data + binary genotype |
does this now include the measurement sign? |
this function doesn't currently interpret MIC or disk data into S/I/R the input pheno_table is expected to already have a column with interpreted phenotypes, the name of this column must be specified as a parameter |
TO DO: add option to return S/I/R values also (helpful for downstream plots/analysis including solo_ppv_stats and upset plots) - DONE |
updated import_ncbi_ast to interpret against ecoff and report in column 'ecoff' coded as WT/NWT should now update getBinMat to use this if available, rather than defining NWT column based on I/R vs S - DONE |
Created getBinMat to take genotype & phenotype tables (as output by genotype 'parser' and 'import_ncbi_ast' functions), and output a new data frame with binary (1/0) variables for
Added examples to readme
To do
The text was updated successfully, but these errors were encountered: