Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakob Russel committed Feb 5, 2020
1 parent 9a92526 commit ceedc85
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions R/rcurve.R
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ rcurve <- function(physeq, subsamp = 10^c(1:5), trim = TRUE, add_sample_data = T
# To a data.frame
df <- as.data.frame.table(mat_new)
colnames(df) <- c("Sample", "Reads", "Richness")
df$Reads <- as.numeric(as.character(df$Reads))

if(trim){
df <- na.omit(df)
Expand Down

0 comments on commit ceedc85

Please sign in to comment.